Jump to content

Current control color


mac1
 Share

Recommended Posts

Hi All,

I've searched the forums and even posted accidentally in the developers forum. So that means the answer is obvious and I'll be slapping my forehead.

How do I determine the color of a control (a button in this case) before I use GUICtrlSetBkColor, so I can change it back?

Thanks,

Mac

Link to comment
Share on other sites

Hi All,

I've searched the forums and even posted accidentally in the developers forum. So that means the answer is obvious and I'll be slapping my forehead.

How do I determine the color of a control (a button in this case) before I use GUICtrlSetBkColor, so I can change it back?

Thanks,

Mac

Well all i can think of is pixelgetcolor() look it up in the help file there is probably a user32.dll call or something for this im not sure though.

[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

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...