qwertylol Posted May 20, 2007 Posted May 20, 2007 I got this color color_1=6386745 from pixelgetcolor how do I draw this color ? I need to know what color it is.
Zedna Posted May 20, 2007 Posted May 20, 2007 (edited) #include <GUIConstants.au3> GUICreate("Color", 300,200) GuiCtrlCreateGraphic(10, 10, 100,100) GUICtrlSetBkColor(-1,6386745) GUISetState() Do $msg = GUIGetMsg() Until $msg=$GUI_EVENT_CLOSE Edited May 20, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
Zedna Posted May 20, 2007 Posted May 20, 2007 Or even simpler: #include <GUIConstants.au3> GUICreate("Color", 300,200) GUISetBkColor(6386745) GUISetState() Do $msg = GUIGetMsg() Until $msg=$GUI_EVENT_CLOSE Resources UDF ResourcesEx UDF AutoIt Forum Search
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