Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Gets the color for a given portion of the month calendar within a date and time picker (DTP) control. You can use this macro or send the DTM_GETMCCOLOR message explicitly.
Syntax
COLORREF DateTime_GetMonthCalColor(
HWND hdp,
int iColor
);
Parameters
hdp
Type: HWND
A handle to a DTP control.
iColor
Type: int
A value of type int specifying which month calendar color to retrieve. This value can be one of the following.
Return value
Type: COLORREF
Returns a COLORREF value that represents the color setting for the specified portion of the month calendar control if successful. Otherwise, the macro returns -1.
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 |