Jump to content
Sign in to follow this  
gcue

is there a way to change the color of a button?

Recommended Posts

gcue

i looked at the styles and exstyles for buttonconstants.au3.. didnt see that there was.

the script im running has several icons which already have an icon applied to them

i cannot resize the icons because it affects the layout..

the background i have is white, so either making the button transparent or white would work..

thanks

Share this post


Link to post
Share on other sites
gcue

when i set it - it overrides the icon image... *sigh*

GUICtrlSetImage($buttonlabels[$IconsDrawn][0], "dashboard.dll", 4)

$buttonlabels[$ButCount][0] = GUICtrlCreateButton("", $startX + $ButHor * $horPitch, $StartY + $ButVert * $VertPItch, $ButWid, $ButHeight, $BS_ICON)

GUICtrlSetImage(-1, "shell32.dll", 16)

GUICtrlSetBkColor(-1, 000000)

Edited by gcue

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
Sign in to follow this  

×