GUIDelete
删除窗口及其包含的所有控件.
GUIDelete ( [winhandle] )
参数
winhandle
|
[可选] 使用 GUICreate() 函数返回的窗口句柄. (default = 上次使用的句柄).
|
返回值
相关
GUICreate, GUISwitch
函数示例
#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
----------------------------------------
|