Contents Index Topic Contents | ||
Previous Topic: MonthCal_GetRange Next Topic: MonthCal_GetToday |
MonthCal_GetSelRange
BOOL MonthCal_GetSelRange( HWND hwndMC, LPSYSTEMTIME lprgSysTimeArray );Retrieves date information that represents the upper and lower limits of the date range currently selected by the user. You can use this macro or send the MCM_GETSELRANGE message explicitly.
- Returns nonzero if successful, or zero otherwise. MonthCal_GetSelRange will fail if applied to a month calendar control that does not use the MCS_MULTISELECT style.
- hwndMC
- Handle to a month calendar control.
- lprgSysTimeArray
- Address of a two-element array of SYSTEMTIME structures that will receive the lower and upper limits of the user's selection. The lower and upper limits are placed in lprgSysTimeArray[0] and lprgSysTimeArray[1], respectively. The time members of these structures will not be modified. 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.