回复 6# fanxiang_1984
不会是这样吧??
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 233, 47, 192, 124)
$Input1 = GUICtrlCreateInput("", 0, 0, 169, 21)
GUICtrlSetTip(-1,'input something,please!')
$Input2 = GUICtrlCreateInput("", 0, 24, 169, 21)
GUICtrlSetTip(-1,'input something,please!')
$Button1 = GUICtrlCreateButton("确定", 176, 8, 49, 33,1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
MsgBox(0,'输入的信息:',GUICtrlRead($Input1)&@CRLF&GUICtrlRead($Input2))
EndSwitch
WEnd
|