Sign in to follow this  
Followers 0
sumit

is there a GUI close command

3 posts in this topic

can someone please tell me if there a GUI close command. ( Not talking about GUICloseOnESC )

Share this post


Link to post
Share on other sites



GUIDelete() maybe?

#include <GUIConstants.au3>

GUICreate("My GUI")  ; will create a dialog box that when displayed is centered

GUISetState ()       ; will display an empty dialog box

; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

GUIDelete();    ; will return 1

Share this post


Link to post
Share on other sites

Would GuiSetState(@SW_HIDE, ... do it for you?

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  
Followers 0