Delen via


CMonthCalCtrl::GetCalendarBorder

Retrieves the width of the border of the current month calendar control.

int GetCalendarBorder() const;

Return Value

The width of the control border, in pixels.

Remarks

This method sends the MCM_GETCALENDARBORDER 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_GETCALENDARBORDER

CMonthCalCtrl::SetCalendarBorder

Other Resources

CMonthCalCtrl Members