Поделиться через


MCM_GETMONTHRANGE (Windows Embedded CE 6.0)

1/6/2010

This message, using SYSTEMTIME structures, retrieves date information that represents the high and low limits of a month calendar control's display.

Syntax

MCM_GETMONTHRANGE wParam = (WPARAM)(DWORD) dwFlag;
    lParam = (LPARAM)(LPSYSTEMTIME) lprgSysTimeArray;

Parameters

  • dwFlag
    Specifies the scope of the range limits to be retrieved. It is one of the following values.

    Value Description

    GMR_DAYSTATE

    Includes preceding and trailing months of visible range that are only partially displayed.

    GMR_VISIBLE

    Includes only those months that are entirely displayed.

  • lprgSysTimeArray
    Long pointer to a two-element array of SYSTEMTIME structures that receives 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 are not modified.

Return Value

Returns an INT that represents the range, in months, spanned by the two limits returned at lprgSysTimeArray.

Remarks

Related macro: MonthCal_GetMonthRange

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Month Calendar Controls Messages