BrettF Posted February 11, 2007 Share Posted February 11, 2007 My program downloads rardar images from the internet and the displays them in a GUI. When it downloads, it shows up white in preview, but in the program the border is black?? Thanx Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
The Kandie Man Posted February 11, 2007 Share Posted February 11, 2007 The reason it is doing this is because the border that you claim is white really isn't white. It is 100% transparent and therefore has no color. To fill it in, AutoIt selects black to be the background that the gif sits on and since that part of the gif image is transparent, the color black shows through it there. I tried to use GUICtrlSetBkColor() to change this, but i had no luck. If it really bothers you, don't use a gif. See if they have other images that are jpeg since jpg files don't support transparency. I personally didn't have any problem with the picture's border being black. Looked absolutely fine to me. "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 11, 2007 Moderators Share Posted February 11, 2007 http://www.autoitscript.com/forum/index.php?showtopic=38709 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
BrettF Posted February 11, 2007 Author Share Posted February 11, 2007 @The Kandie Man: Thankyou, but you must have missread my code or something, because it downloads .gifs from the internet. @SmokeN: Thanks, but it sadly didnt help, on a closer look in the helpfile i saw:Only Label, Checkbox, Group, Radio, Edit, Input, List, Listview, ListviewItem, Treeview, TreeviewItem, Graphic and Progress controls can currently be colored.I think thats probablly my answer, it can't be done Thanks all. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 11, 2007 Moderators Share Posted February 11, 2007 @The Kandie Man: Thankyou, but you must have missread my code or something, because it downloads .gifs from the internet. @SmokeN: Thanks, but it sadly didnt help, on a closer look in the helpfile i saw:I think thats probablly my answer, it can't be done Thanks all.You obviously don't understand what either of us are saying. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
BrettF Posted February 11, 2007 Author Share Posted February 11, 2007 You obviously don't understand what either of us are saying.Most obviously not. :"> Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! 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