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.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 2.0 and later |
Related macro: | MonthCal_GetMinReqRect |
Syntax
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.