jdickens Posted August 11, 2005 Posted August 11, 2005 If I change the background color of a label, how do I know what color to change it back to for sure? J If I am too verbose, just say so. You don't need to run on and on.
CyberSlug Posted August 11, 2005 Posted August 11, 2005 This should help: http://www.autoitscript.com/forum/index.ph...wtopic=7885&hl= Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Josbe Posted August 11, 2005 Posted August 11, 2005 (edited) If I change the background color of a label, how do I know what color to change it back to for sure?J<{POST_SNAPBACK}>window's color:Const $COLOR_BTNFACE = 15;Button face $out = DllCall("user32", "long", "GetSysColor", "long", $COLOR_BTNFACE) ; BGR output to RGB mode $hColor = Hex( $out[0], 6) $hexColor = StringMid($hColor, 5, 2) & StringMid($hColor, 3, 2) & StringMid($hColor, 1, 2) MsgBox(0, "", $hColor )Edit> @CyberSlug: Nice UDF. Edited August 11, 2005 by Josbe AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
jdickens Posted August 16, 2005 Author Posted August 16, 2005 Hey thanks, guys: That worked very well. J If I am too verbose, just say so. You don't need to run on and on.
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