Contents Index Topic Contents | ||
Previous Topic: MonthCal_GetColor Next Topic: MonthCal_GetFirstDayOfWeek |
MonthCal_GetCurSel
BOOL MonthCal_GetCurSel( HWND hwndMC, LPSYSTEMTIME lpSysTime );Retrieves the currently selected date. You can use this macro or send the MCM_GETCURSEL message explicitly.
- Returns nonzero if successful, or zero otherwise. This macro will always fail when applied to month calendar controls that are set to the MCS_MULTISELECT style.
- hwndMC
- Handle to a month calendar control.
- lpSysTime
- Address of a SYSTEMTIME structure that will receive the currently selected date information. This parameter must be a valid address and cannot be NULL.
Version 4.70
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.