MonthCal_SetColor macro (commctrl.h)
Sets the color for a given portion of a month calendar control. You can use this macro or send the MCM_SETCOLOR message explicitly.
Syntax
void MonthCal_SetColor(
hmc,
iColor,
clr
);
Parameters
hmc
Type: HWND
Handle to a month calendar control.
iColor
Type: INT
Value of type int specifying which month calendar color to set. This value can be one of the following:
clr
Type: COLORREF
COLORREF value that represents the color that will be set for the specified area of the month calendar.
Return value
None
Remarks
If visual styles are active, this macro has no effect except when iColor is MCSC_BACKGROUND.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |