Function Reference


GUIDelete

Deletes a GUI window and all controls that it contains.

GUIDelete ( [winhandle] )

Parameters

winhandle [optional] Windows handle as returned by GUICreate() (default is the previously used window).

Return Value

Success: 1.
Failure: 0.

Related

GUICreate, GUISwitch

Example

#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

AltStyle によって変換されたページ (->オリジナル) /