Partager via


CDateTimeCtrl::GetMonthCalStyle

Gets the style of the drop-down month calendar control that is associated with the current date and time picker control.

DWORD GetMonthCalStyle() const;

Return Value

The style of the drop-down month calendar control, which is a bitwise combination (OR) of date and time picker control styles. For more information, see Month Calendar Control Styles.

Remarks

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

Requirements

Header: afxdtctl.h

This method is supported in Windows Vista and later.

See Also

Reference

CDateTimeCtrl Class

Hierarchy Chart

CDateTimeCtrl::SetMonthCalStyle

DTM_GETMCSTYLE

Date and Time Picker Control Styles

Other Resources

CDateTimeCtrl Members