This documentation is archived and is not being maintained.

CMonthCalCtrl::GetMinReqRect

Retrieves the minimum size required to show a full month in a month calendar control.

BOOL GetMinReqRect( 
   RECT* pRect  
) const;

pRect

A pointer to a RECT structure that will receive bounding rectangle information. This parameter must be a valid address and cannot be NULL.

If successful, this member function returns nonzero and lpRect receives the applicable bounding information. If unsuccessful, the member function returns 0.

This member function implements the behavior of the Win32 message MCM_GETMINREQRECT, as described in the Windows SDK.

Header: afxdtctl.h

Show: