Partager via


CMonthCalCtrl::SetDecadeView

Sets the current month calendar control to the decade view.

BOOL SetDecadeView();

Return Value

true if this method is successful; otherwise, false.

Remarks

This method uses the CMonthCalCtrl::SetCurrentView method to set the view to MCMV_DECADE, which represents the decade 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