本帖最后由 faceyao 于 2009-8-23 20:45 编辑 #include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("窗体1", 453, 331, 262, 186)
$Button1 = GUICtrlCreateButton("Button1", 136, 48, 97, 65, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
以上是窗体代码,请问这句:“msgbox(0,"",hello world)”应该加在哪里?就是点了button1会出现helloworld |