strate Posted February 14, 2005 Share Posted February 14, 2005 I have a gui that as I tab through the inputs, when i reach a button I want it to open a new gui with out clicking on the button. $wintitle = WinGetTitle("", "") BlockInput(0) GUISetState (@SW_SHOW) ;~ MsgBox(0,"Debug",$wintitle) While 1 While 2 While 3 $WINSTATE = WinGetState($wintitle, "") ;~ MsgBox(0,"Debug",$wintitle) If WinActive($wintitle, "") Then $pos = ControlGetPos($wintitle, "", $DESC_BUTTON) ;~ MsgBox(0, "$DESC_BUTTON Stats:", "POS: " & $pos[0] & "," &$pos[1] & " SIZE: " & $pos[2] & "," &$pos[3] ) $b = _CaretPos() If $b[0] = $pos[0] And $b[1] = $pos[1] Then $msg = $DESC_BUTTON EndIf ToolTip("First Method Pos" & $b[0] & " " & $b[1], 1, 1) EndIf The right after "While 3" is where my problem is. I'll assume somebody has done this and I would love the help. Thank you INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... 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