无法关闭第二个窗体
Case $Labe1_zhang()
;调出第二个窗体
Func _zhang()
$Form2 = GUICreate("使用说明", 291, 342, 193, 125, 0)
$Label1 = GUICtrlCreateLabel("说明", 126, 15, 30, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Label2 = GUICtrlCreateLabel("Label2", 10, 47, 270, 281)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
EndFunc
怎么就无法关闭呢?请教~~~看看到底那个地方出错了
在线等待~~~
Func _zhang()
$Form2 = GUICreate("使用说明", 291, 342, 193, 125, 0)
$Label1 = GUICtrlCreateLabel("说明", 126, 15, 30, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Label2 = GUICtrlCreateLabel("Label2", 10, 47, 270, 281)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
GUIDelete($Form2)
ExitLoop ;或 Return
EndSwitch
WEnd
EndFunc
支持一下。顺便做个记号。
页:
[1]