Udostępnij za pośrednictwem


CMonthCalCtrl::GetCalID

Retrieves the calendar identifier for the current month calendar control.

CALID GetCalID() const;

Return Value

One of the calendar identifier constants.

Remarks

A calendar identifier denotes 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_GETCALID message, which is described in the Windows SDK.

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_GETCALID

Calendar Identifiers

CMonthCalCtrl::SetCalID

Other Resources

CMonthCalCtrl Members