Partager via


CMonthCalCtrl::IsMonthView

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

BOOL IsMonthView() const;

Return Value

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

Remarks

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