CRichEditCtx.SetBkgndColormethod
Sets the background color for a rich edit control.
Syntax
FUNCTION SetBkgndColor (BYVAL SysColor AS DWORD, BYVAL BkColor AS DWORD) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
SysColor | 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. | |
BkColor | A COLORREF structure specifying the color if SysColor is zero. To generate a COLORREF, use the RGB macro (renamed as BGR in the FreeBasic Windows headers). |
Return value
This message returns the original background color.
Description
Sets the background color for a rich edit control.
Reference
- Defined in AfxNova/CRichEditCtx.inc:2913
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class