MonthCal_SetCalendarBorder macro

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

Unused.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft