MonthCal_GetCalendarBorder macro (commctrl.h)

Gets the border size, in pixels, of a month calendar control. You can use this macro or send the MCM_GETCALENDARBORDER message explicitly.

Syntax

DWORD MonthCal_GetCalendarBorder(
   HWND hmc
);

Parameters

hmc

Type: HWND

Handle to a month calendar control.

Return value

Type: DWORD

Current border size, in pixels.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header commctrl.h