Deletes a GUI window and all controls that it contains.
GUIDelete ( [winhandle] )
#include <GUIConstantsEx.au3>
Example()
Func Example()
GUICreate ("My GUI"); will create a dialog box that when displayed is centered
GUISetState (@SW_SHOW ); will display an empty dialog box
; Loop until the user exits.
While 1
Switch GUIGetMsg ()
Case $GUI_EVENT_CLOSE
ExitLoop
EndSwitch
WEnd
GUIDelete (); ; will return 1
EndFunc ;==>Example