onCalendarSelect (Callback)


onCalendarSelect (idControl, SYSTEMTIME time)

This callback is invoked when the user changes the selection in calendar control by clicking a new date.

Parameter Description
idControl The id constant of the calendar control which triggered the callback
SYSTEMTIME time The new data the user selected

Returns

0

Remarks

This is a callback function. You must supply it yourself. To register this callback, use the WinXRegOnCalendarSelect function.

Examples

' A simple onCalendarSelect callback
FUNCTION onCalendarSelect (idControl, SYSTEMTIME time)

PRINT "Day: ";time.day;", Month: ";time.month;", Year: ";time.year

END FUNCTION

Related Links

WinXRegOnCalendarSelect
WinXAddCalendar