SECCalendar::SetControlRect
CRectSECCalendar::SetControlRect(CRect&newRect)
Sizes and positions the calendar control to the requested rect.
Defined in: Calendar.cpp
Return Value
The previous control rect or NULL if it is not possible to size and position the calendar control to the requested rect.
Parameters
&newRect
The rectangle requested to contain the control.
Comments
The function is generally called after the parent is resized (i.e., from <parent>::OnSize()) to resize the calendar to fit in the parent’s client area.
See Also