Busturdust Posted June 30, 2015 Share Posted June 30, 2015 Hi All, I have an AutoIT script which allows a user to make a selection, and trigger a series of events according to the selection.I have a logo, in the the GUI of the application, which looks perfect on my local environment. When executing on the actual workstation, the background of the image is presented as a WHITE box (even though original image has Gray background) My question is, why does it work correctly, with transparency working to mesh it well with the background, whereas on another environment it does not. Both are windows 7. Code snippet below of how I am creating the image. FileInstall("Logo.gif",$logoLocation) $logo = GUICtrlCreatePic($logoLocation,32,215,175,145,$WS_EX_TRANSPARENT) GUISetBkColor(0x98AFC7)Thanks Link to comment Share on other sites More sharing options...
spudw2k Posted June 30, 2015 Share Posted June 30, 2015 Hmmm....are both envs using the same graphics settings (Aero theme, color depth, etc.)? Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
Busturdust Posted June 30, 2015 Author Share Posted June 30, 2015 Hmmm....are both envs using the same graphics settings (Aero theme, color depth, etc.)?Im not really sure about graphics related issues too well. I had just figured a small image (snipped below to show the color render) The blue color is correct, and is coming from the GuiStBKColor call. On the other environment this blueish color doesn't come through. I had figured with the same image, and no effects on the image (bmp file) it should work cross environment. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now