#include <ButtonConstants.au3>
#include <DateTimeConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 265, 113, 192, 124)
$Date1 = GUICtrlCreateDate("", 24, 16, 186, 21)
$Button1 = GUICtrlCreateButton("Button1", 80, 64, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
msgbox(0,"",GUICtrlRead ( $Date1 ))
EndSwitch
WEnd
不知道你说的是不是这个。 |