Export (0) Print
Expand All
Expand Minimize

EM_SETBKGNDCOLOR message

The EM_SETBKGNDCOLOR message sets the background color for a rich edit control.

Parameters

wParam

Specifies whether to use the system color. If this parameter is a nonzero value, the background is set to the window background system color. Otherwise, the background is set to the specified color.

lParam

A COLORREF structure specifying the color if wParam is zero. To generate a COLORREF, use the RGB macro.

Return value

This message returns the original background color.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richedit.h

See also

Other Resources
COLORREF
RGB

 

 

Community Additions

ADD
Show:
© 2014 Microsoft