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.
C++
LRESULT MonthCal_SetCalendarBorder(
HWND hmc,
BOOL fset,
int xyborder
);
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.
Type: LRESULT
Unused.
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 |