Rex Posted February 23, 2010 Share Posted February 23, 2010 Is this possible ? I have a main gui, and several child gui's in my script. Some of the child gui handles some input and so. What i need is to pause a function until a child gui windows closes, but without pausing the entire script. for now i do something like this. GuiSetState(@SW_SHOW, $ChildGUI) winactivate($ChildGUI, "") ; Child contains some inputboxes and an activation button and an exit button _Function() Func _Funftion() winwaitclose($ChildGUI, "") msgBox(16, "Msg", "Msg") EndFunc My problem is that the winwaitclose pauses the entire script, so the user can not use the buttons in the childGUI I did try to put in a do until, and a while 1 wend and the all blocks the use of the child gui Is there any way to do this, or do i have to loop forth and back until the child is closed? Cheers /Rex Link to comment Share on other sites More sharing options...
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 account
Already have an account? Sign in here.Sign In Now