MonthCal_GetMonthRangeMonthCal_GetMonthRange*
*Contents  *Index  *Topic Contents
*Previous Topic: MonthCal_GetMonthDelta
*Next Topic: MonthCal_GetRange

MonthCal_GetMonthRange


DWORD MonthCal_GetMonthRange(
    HWND hwndMC,
    DWORD dwFlag,
    LPSYSTEMTIME lprgSysTimeArray
);

Retrieves date information (using SYSTEMTIME structures) that represents the high and low limits of a month calendar control's display. You can use this macro or send the MCM_GETMONTHRANGE message explicitly.

hwndMC
Handle to a month calendar control.
dwFlag
Value specifying the scope of the range limits to be retrieved. This value must be one of the following:
GMR_DAYSTATE Include preceding and trailing months of visible range that are only partially displayed.
GMR_VISIBLE Include only those months that are entirely displayed.
lprgSysTimeArray
Address of a two-element array of SYSTEMTIME structures that will receive the lower and upper limits of the scope specified by dwFlag. 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


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