Contents Index Topic Contents | ||
Previous Topic: MonthCal_GetMaxTodayWidth Next Topic: MonthCal_GetMonthDelta |
MonthCal_GetMinReqRect
BOOL MonthCal_GetMinReqRect( HWND hwndMC, LPRECT lpRectInfo );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. You can use this macro or send the MCM_GETMINREQRECT message explicitly.
- Returns nonzero and lpRectInfo receives the applicable bounding information if successful. Otherwise, the return is zero.
- hwndMC
- Handle to a month calendar control.
- lpRectInfo
- Address of a RECT structure that will receive bounding rectangle information. This parameter must be a valid address and cannot be NULL.
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.
Version 4.70
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.