CDateTimeCtrl::GetMonthCalColor

COLORREF GetMonthCalColor( int iColor ) const;

Return Value

A COLORREF value that represents the color setting for the specified portion of the month calendar control if successful. The function returns -1 if unsuccessful.

Parameters

iColor

An int value specifying which color area of the month calendar to retrieve. For a list of values, see the iColor parameter for SetMonthCalColor.

Remarks

This member function implements the behavior of the Win32 message DTM_GETMCCOLOR, as described in the Platform SDK.

CDateTimeCtrl OverviewClass MembersHierarchy Chart

See Also   CDateTimeCtrl::SetMonthCalColor