Jump to content

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


gcue
 Share

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...