MonthCal_GetCurSel
This macro retrieves the system time portrayed by the currently selected date.
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 Values
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
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 2.0 and later | Commctrl.h | Commctrl.lib |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.