Jump to content
Sign in to follow this  
tsue

how to close a gui but not the program?

Recommended Posts

tsue

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.