MonthCal_GetRangeMonthCal_GetRange*
*Contents  *Index  *Topic Contents
*Previous Topic: MonthCal_GetMonthRange
*Next Topic: MonthCal_GetSelRange

MonthCal_GetRange


DWORD MonthCal_GetRange(
    HWND hwndMC,
    LPSYSTEMTIME lprgSysTimeArray
);

Retrieves the minimum and maximum allowable dates set for a month calendar control. You can use this macro or send the MCM_GETRANGE message explicitly.

hwndMC
Handle to a month calendar control.
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. The time members of these structures will not be modified. This parameter must be a valid address and cannot be NULL.

Version 4.70


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.