CRichEditCtrl::SetBackgroundColor

COLORREF SetBackgroundColor( BOOL bSysColor, COLORREF cr );

Return Value

The previous background color for this CRichEditCtrl object.

Parameters

bSysColor

Indicates if the background color should be set to the system value. If this value is TRUE, cr is ignored.

cr

The requested background color. Used only if bSysColor is FALSE.

Remarks

Call this function to set the background color for this CRichEditCtrl object. The background color can be set to the system value or to a specified COLORREF value.

For more information, see EM_SETBKGNDCOLOR message and COLORREF structure in the Win32 documentation.

CRichEditCtrl OverviewClass MembersHierarchy Chart

See Also   CDC::SetBkColor