Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/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 RECTstructure.

Syntax

MCM_GETMINREQRECT 
wParam = 0; 

lParam = (LPARAM) (LPRECT) 
lpRectInfo;

Parameters

wParam

Not used.

lpRectInfo

Long pointer to a RECTstructure that receives bounding rectangle information.

Return Value

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

Remarks

The topand leftmembers of lpRectInfowill always be zero. The rightand bottommembers represent the minimum cxand cyrequired 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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

RECT