Creates a month calendar control for the GUI.
GUICtrlCreateMonthCal ( "text", left, top [, width [, height [, style = -1 [, exStyle = -1]]]] )
To obtain the value of the control see GUICtrlRead().
Default resizing is $GUI_DOCKSIZE.
GUICoordMode (Option), GUICtrlRead, GUIGetMsg
#include <GUIConstantsEx.au3>
#include <MsgBoxConstants.au3>
Example()
Func Example()
GUICreate ("Get date",210,190)
Local $idMC_Date= GUICtrlCreateMonthCal ("1953/03/25",10,10)
GUISetState (@SW_SHOW )
; Loop until the user exits.
While 1
Switch GUIGetMsg ()
Case $GUI_EVENT_CLOSE
ExitLoop
Case $idMC_Date
MsgBox ($MB_SYSTEMMODAL,"debug","calendar clicked")
EndSwitch
WEnd
MsgBox ($MB_SYSTEMMODAL,"Date",GUICtrlRead ($idMC_Date),2)
EndFunc ;==>Example