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


CMonthCalCtrl::SetCalID

Sets the calendar identifier for the current month calendar control.

BOOL SetCalID(
          CALID calid
);

Параметры

Parameter

Description

[in] calid

One of the calendar identifier constants.

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

true if this method is successful; otherwise, false.

Заметки

A calendar identifier specifies a region-specific calendar, such as the Gregorian (localized), Japanese, or Hijri calendars. Your application can use a calendar identifier with various National Language Support (NLS) functions.

This method sends the MCM_SETCALID message, which is described in the Windows SDK.

Требования

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_SETCALID

Calendar Identifiers

CMonthCalCtrl::GetCalID