MCM_GETMINREQRECT (Windows CE 5.0)

Send Feedback

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.

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 Values

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

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

RECT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.