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


CMonthCalCtrl::SetMonthView

Sets the current month calendar control to display the month view.

BOOL SetMonthView();

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

true if this method is successful; otherwise, false.

Заметки

This method uses the CMonthCalCtrl::SetCurrentView method to set the view to MCMV_MONTH, which represents the month view.

Требования

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_SETCURRENTVIEW

CMonthCalCtrl::SetCurrentView