Jump to content

GUI Close Help


Recommended Posts

I had the same problem once, and I remember I solved by using a different variable for the GuiGetMsg() function.

Notice that in the main part of the program, you call it $nMsg. Then, in the About part, you use $nMsg again to query the status of the About GUI.

Also, in the second While/Wend loop, I added the following to my script:

While 1
        $mMsg = GUIGetMsg()
        Switch $mMsg
            Case $GUI_EVENT_CLOSE
                GUIDelete($About)
                ExitLoop
        EndSwitch
    WEnd

See if that helps...

Jose

Edited by JoseS
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...