Jump to content

Recommended Posts

Posted

I have a complicated set of GUI windows, each of them are in functions that call each other. I can refresh a window by doing either

GUISetState(@SW_Hide, $myGUI)

MyGUI()

OR

GUIDelete($MyGui)

MyGUI()

But if the user tries to close the window using the title bar close button, he will have to press this several times. Once for everytime the window was refreshed. Why???? :lmao:

Posted

But if the user tries to close the window using the title bar close button, he will have to press this several times. Once for everytime the window was refreshed. Why???? :lmao:

;) I have used:

case $msg = $GUI_EVENT_CLOSE
GUIClose($MyGUI) 
Exit

And this seems to work OK. Is probably not the 'correct' way o:) , but it suits my purposes.

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...