Prev Next
The EM_SETBKGNDCOLOR message sets the background color for a rich edit
control.
EM_SETBKGNDCOLOR
wParam = (WPARAM) (BOOL) fUseSysColor;
lParam = (LPARAM) (COLORREF) clr;
Parameters
-
fUseSysColor
-
Value specifying whether to use the system color. If this parameter is
nonzero, the background is set to the window background system color.
Otherwise, the background is set to the specified color.
-
clr
-
COLORREF structure specifying the color if fUseSysColor is zero.
Return Values
Returns the old background color.
See Also
COLORREF
file: /Techref/os/win/api/win32/mess/src/msg06.htm,
1KB, , updated: 2000年4月7日 12:19, local time: 2025年9月6日 09:02,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://techref.massmind.org/techref/os/win/api/win32/mess/src/msg06.htm"> EM_SETBKGNDCOLOR</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.