Contents Index Topic Contents | ||
Previous Topic: MCM_GETMONTHRANGE Next Topic: MCM_GETSELRANGE |
MCM_GETRANGE
MCM_GETRANGE wParam = 0; lParam = (LPARAM)(LPSYSTEMTIME) lprgSysTimeArray;Retrieves the minimum and maximum allowable dates set for a month calendar control. You can send this message explicitly or by using the MonthCal_GetRange macro.
- Returns a DWORD that can be zero (no limits are set) or a combination of the following values that specify limit information:
GDTR_MAX A maximum limit is set for the control; lprgSysTimeArray[0] is valid and contains the applicable date information. GDTR_MIN A minimum limit is set for the control; lprgSysTimeArray[1] is valid and contains the applicable date information.
- lprgSysTimeArray
- Address of a two-element array of SYSTEMTIME structures that will receive the date limit information. The minimum limit is set in lprgSysTimeArray[0], and lprgSysTimeArray[1] receives the maximum limit. If either element is set to all zeros, then no corresponding limit is set for the month calendar control. This parameter must be a valid address and cannot be NULL.
Version 4.70
See also Times in the Month Calendar Control
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.