|
发表于 2015-7-22 21:52:14
|
显示全部楼层
本帖最后由 chzj589 于 2015-7-23 08:44 编辑
回复 1# hbycwq
不知LZ是不是这个意思?
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 623, 442, 192, 124)
$Button1 = GUICtrlCreateButton("Button1", 16, 65, 75, 25)
$Button2 = GUICtrlCreateButton("Button2", 16, 95, 75, 25)
$Button3 = GUICtrlCreateButton("Button3", 16, 125, 75, 25)
$Button4 = GUICtrlCreateButton("Button4", 16, 155, 75, 25)
$Edit1 = GUICtrlCreateEdit("", 112, 56, 457, 321)
GUICtrlSetData($Edit1, "")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
理解错误,不好意思 |
|