CMonthCalCtrl::GetColor

COLORREF GetColor( int nRegion ) const;

Return Value

A COLORREF value specifying the color associated with the portion of the month calendar control, if successful. Otherwise, this member function returns -1.

Parameters

nRegion

The region of the month calendar control from which the color is retrieved. For a list of values, see the nRegion parameter of  SetColor.

Remarks

Call this member function to retrieve the color of an area of the month calendar control specified by nRegion.

CMonthCalCtrl OverviewClass MembersHierarchy Chart

See Also   CMonthCalCtrl::SetColor