Jump to content

Recommended Posts

Posted

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

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
×
×
  • Create New...