MonthCal_GetCurSel
A version of this page is also available for
4/8/2010
This macro retrieves the system time portrayed by the currently selected date.
Syntax
BOOL MonthCal_GetCurSel(
HWND hwndMC,
LPSYSTEMTIME lpSysTime
);
Parameters
- hwndMC
Handle to a month calendar control.
- lpSysTime
Long pointer to a SYSTEMTIME structure that will receive the system time information.
Return Value
Nonzero indicates success. Zero indicates otherwise. This macro will always fail when applied to month calendar controls that are set to the MCS_MULTISELECT style.
Remarks
Related message: MCM_GETCURSEL
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |