Thomymaster

how to create a flat button (/w color change once hovered)?

5 posts in this topic

Hi

 

I have an AutoIT GUI with some buttons (using GUICtrlCreateButton() ) and i'd like to know what i have to do to make them flat (like in Windows 8, so no border).

Additionally they should change their color (like the buttons on most of the websites) once hovered, i.e. to yellow.

 

Does anybody of you have an idea?

 

Best,

 

Thomas

 

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

With pics instead of Buttons i have a solution:HoveredPngButtons.au3 therefor you need this:GUICtrlPic.au3 (Original Großvater (autoit.de) and modified by me for Hovering and ButtoAnimation (when clicked)). There are also Pictures needed you can create your own or use this:pictures.zip

Edited by AutoBert

Share this post


Link to post
Share on other sites

There's a topic where a metro style Windows 8 button has been replicated in Autoit using GDI+

 

 

 

Share this post


Link to post
Share on other sites

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