Compartilhar via


CMonthCalCtrl::IsCenturyView

Indicates whether the current view of the current month calendar control is the century view.

BOOL IsCenturyView() const;

Return Value

true if the current view is the century view; otherwise, false.

Remarks

This method sends the MCM_GETCURRENTVIEW message, which is described in the Windows SDK. If that message returns MCMV_CENTURY, this method returns true.

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_GETCURRENTVIEW

CMonthCalCtrl::GetCurrentView

Other Resources

CMonthCalCtrl Members