nbourg8 Posted November 28, 2007 Share Posted November 28, 2007 I love brick walls don't you? If you run the code below, hit Settings > Color Setup and click the color finder button, then check the box "Start Detection", then click the X to close the GUI, it closes all the parent GUI's as well. Yet when you leave the checkbox unchecked, it won't close the parent GUI's. I located the problem in the code segment: [autoit] If WinActive("Color Setup") and GUICtrlRead($instartbox) = $GUI_CHECKED Then $inmouse = GUIGetCursorInfo() If GUICtrlRead($incolorbox) <> GUICtrlRead($inmouse[4]) Then GUICtrlSetBkColor($Graphic1, GUICtrlRead($inmouse[4])) GUICtrlSetData(GUICtrlRead($incolor[1]), GUICtrlRead($inmouse[4])) MsgBox(0,"asdf",GUICtrlRead($inmouse[4])) EndIf EndIf Link to comment Share on other sites More sharing options...
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