Compartilhar via


CMonthCalCtrl::SizeMinReq

Displays the month calendar control to the minimum size that displays one month.

BOOL SizeMinReq(
   BOOL bRepaint = TRUE 
);

Parameters

  • bRepaint
    Specifies whether the control is to be repainted. By default, TRUE. If FALSE, no repainting occurs.

Return Value

Nonzero if the month calendar control is sized to its minimum; otherwise 0.

Remarks

Calling SizeMinReq successfully displays the entire month calendar control for one month's calendar.

Requirements

Header: afxdtctl.h

See Also

Reference

CMonthCalCtrl Class

Hierarchy Chart

CMonthCalCtrl::GetMinReqRect

Other Resources

CMonthCalCtrl Members