Jump to content

how to close a gui but not the program?


Recommended Posts

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
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...