mac1 Posted November 21, 2007 Posted November 21, 2007 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
MerkurAlex Posted November 22, 2007 Posted November 22, 2007 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,MacWell 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]
BrettF Posted November 22, 2007 Posted November 22, 2007 @allsee here Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now