Jump to content

Recommended Posts

Posted

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?

Posted

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

Posted

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.

Posted

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.

  • 2 weeks later...
Posted

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!"

Posted

there is an example here with ControlHover())

it is really good

http://www.autoitscript.com/fileman/users/valuater/PicButton.zip

8)

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!"

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...