WinXCalendar_GetSelection


WinXCalendar_GetSelection (hCal, SYSTEMTIME @time)

Gets the selected date in a calendar control

Parameter Description
hCal The handle to the calendar control
SYSTEMTIME @time The variable to receive the currently selected date

Returns

$$TRUE on success or $$FALSE on fail

Remarks

none

Examples

SYSTEMTIME time

' Get the currently selected date
WinXCalendar_GetSelection (hCal, @time)
PRINT "Day: ";time.day;", Month: ";time.month;", Year: ";time.year

Related Links

Calendar Controls
WinXAddCalendar
WinXCalendar_SetSelection
onCalendarSelect (Callback)