Поделиться через


CMonthCalCtrl::IsMonthView

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

BOOL IsMonthView() const;

Возвращаемое значение

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

Заметки

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

Требования

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.

См. также

Основные понятия

CMonthCalCtrl Class

CMonthCalCtrl Members

Hierarchy Chart

MCM_GETCURRENTVIEW

CMonthCalCtrl::GetCurrentView