Harald Posted October 23, 2006 Share Posted October 23, 2006 I've been using bmp images on buttons for some time. But in windows vista the buttons look terrible. I wanted to change to transparent gif images, but when changing there isn't shown any images. Doesn't Autoit support transparent gif images? Link to comment Share on other sites More sharing options...
this-is-me Posted October 23, 2006 Share Posted October 23, 2006 Yes, the GUI does support transparent Gifs. Post a sample script and Gif so we can see where the issue lies. Who else would I be? Link to comment Share on other sites More sharing options...
BigDod Posted October 23, 2006 Share Posted October 23, 2006 By default the buttons will only accept bitmaps and icons. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
this-is-me Posted October 23, 2006 Share Posted October 23, 2006 'Scuse me. I did not know that on buttons. However, for the sake of the OP, I can say that you can use an image as a button. Who else would I be? Link to comment Share on other sites More sharing options...
Harald Posted October 23, 2006 Author Share Posted October 23, 2006 By default... Then how do I get transparent gifs to work on buttons? Link to comment Share on other sites More sharing options...
Harald Posted October 30, 2006 Author Share Posted October 30, 2006 Does anyone know? Is there any way to get images on buttons transparent? When I try to add a transparent gif, it won't add the photo to the button. Link to comment Share on other sites More sharing options...
Schlumpf Posted October 30, 2006 Share Posted October 30, 2006 look here:http://www.autoitscript.com/forum/index.php?showtopic=35405 [CENTER]Sorry for my bad English... ;)[/CENTER] Link to comment Share on other sites More sharing options...
Harald Posted November 6, 2006 Author Share Posted November 6, 2006 Hmm... Didn't find any solution from that link. I need to know how to get transparent images on buttons. That one just explained how to get images on buttons, wich is no problem. Link to comment Share on other sites More sharing options...
clearguy Posted November 17, 2006 Share Posted November 17, 2006 I don't know a way but .... you could use an image instead of a button,and for effects you could use Valuater's _ControlHover() UDF. You can use sceenshots of your GUI(with background), you can make nice images and replace the buttons by those. GL;) I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français Link to comment Share on other sites More sharing options...
GEOSoft Posted November 19, 2006 Share Posted November 19, 2006 Depending on how large the buttons are but you could create an icon with transparency and then use that on the button. Make sure you have the button style set for Icons (See Gui control styles in help) and set the image to your icon. I'm not sure how large an Icon Autoit will accept but you can go up to the maximum size (48 x 48 ???) at least 32 x 32. I know that you specify small medinm or large but I'm not sure of the actual sizes involved. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Valuater Posted November 19, 2006 Share Posted November 19, 2006 there is an example here with ControlHover())it is really goodhttp://www.autoitscript.com/fileman/users/valuater/PicButton.zip8) Link to comment Share on other sites More sharing options...
GEOSoft Posted November 19, 2006 Share Posted November 19, 2006 there is an example here with ControlHover())it is really goodhttp://www.autoitscript.com/fileman/users/valuater/PicButton.zip8)I agree 110% It does a great jo. I have it running in 2 scripts now and Im planning o adding it to more. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" 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