CMonthCalCtrl::IsDecadeView

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

BOOL IsDecadeView() const;

Return Value

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

Remarks

This method sends the MCM_GETCURRENTVIEW message, which is described in the Windows SDK. If that message returns MCMV_DECADE, 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