Sign in to follow this  
Followers 0
tsue

how to close a gui but not the program?

3 posts in this topic

hello recently i had to make a program that runs a configuration gui but once it is open i cant figure out how to close it without closing the program

here is the code

while 1
guitoclose()
func guitoclose()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
  Case $GUI_EVENT_CLOSE
   Exit ; i thin i need to change this but cant find another thing to change it
case X
case Y
endswitch
wend
endfunc
wend

Share this post


Link to post
Share on other sites



GuiDelete() perhaps.

thank you

Share this post


Link to post
Share on other sites

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

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0