This macro retrieves the date information for the date specified as “today” for a month calendar control.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 2.0 and later |
Related message: | MCM_GETTODAY |
Syntax
BOOL MonthCal_GetToday(HWND hwndMC, LPSYSTEMTIME lpToday);
Parameters
hwndMC
Handle to a month calendar control.
lpToday
Long pointer to a SYSTEMTIME structure that will receive the date information.
Return Values
Nonzero indicates success. Zero indicates otherwise.