回复 1# ddryao #include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 393, 139, 353, 310)
$Input1 = GUICtrlCreateInput("Input1", 10, 10, 219, 21)
$Input2 = GUICtrlCreateInput("在这输入内容按回车才有效哦", 14, 38, 209, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Input2
MsgBox(0,"",GUICtrlRead($Input2))
EndSwitch
WEnd
|