本帖最后由 傻娃 于 2013-12-9 21:09 编辑 #include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 117, 88, 192, 124)
$Button1 = GUICtrlCreateButton("Button1", 16, 8, 75, 25)
$Button2 = GUICtrlCreateButton("Button2", 16, 48, 75, 25)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
uu()
Case $Button2
;怎么用这个按钮关闭上面这个循环?
EndSwitch
WEnd
Func uu()
MsgBox(0,0,'...')
uu()
EndFunc
怎么停止这个Func循环?? |