Share via


CMonthCalCtrl::SetCenturyView

Sets the current month calendar control to display the century view.

BOOL SetCenturyView();

Return Value

true if this method is successful; otherwise, false.

Remarks

This method uses the CMonthCalCtrl::SetCurrentView method to set the view to MCMV_CENTURY, which represents the century view.

Requirements

Header: afxdtctl.h

This control is supported in Windows Vista and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

See Also

Reference

CMonthCalCtrl Class

Hierarchy Chart

MCM_SETCURRENTVIEW

CMonthCalCtrl::SetCurrentView

Other Resources

CMonthCalCtrl Members