MCM_GETMINREQRECT
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
- 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
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.