Partager via


MCM_GETMINREQRECT (Windows Embedded CE 6.0)

1/6/2010

This message retrieves the minimum size required to display a full month in a month calendar control. Size information is presented in the form of a RECT structure.

Syntax

MCM_GETMINREQRECT wParam = 0; 
    lParam = (LPARAM) (LPRECT) lpRectInfo;

Parameters

  • wParam
    Not used.
  • lpRectInfo
    Long pointer to a RECT structure that receives bounding rectangle information.

Return Value

Returns nonzero and lpRectInfo receives the applicable bounding information if successful. The message returns zero upon failure.

Remarks

The top and left members of lpRectInfo will always be zero. The right and bottom members represent the minimum cx and cy required for the control.

The minimum required window size for a month calendar control depends on the currently selected font.

Related macro: MonthCal_GetMinReqRect

Requirements

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

See Also

Reference

Month Calendar Controls Messages
RECT