MonthCal_SetCalendarBorder macro (commctrl.h)

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

Syntax

LRESULT MonthCal_SetCalendarBorder(
   HWND hmc,
   BOOL fset,
   int  xyborder
);

Parameters

hmc

Type: HWND

Handle to a month calendar control.

fset

Type: BOOL

If TRUE, then the border size is set to the number of pixels that xyborder specifies. If FALSE, then the border size is reset to the default value specified by the theme, or zero if themes are not being used.

xyborder

Type: int

Number of pixels of the border size.

Return value

Type: LRESULT

Unused.

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