CRichEdit.SetBkgndColormethod
Sets the background color for a rich edit control.
Syntax
FUNCTION SetBkgndColor (BYVAL hRichEdit AS HWND, BYVAL pSysColor AS DWORD, BYVAL pBkColor AS DWORD) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
pSysColor | 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. | |
pBkColor | A COLORREF structure specifying the color if pSysColor 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/CRichEdit.inc:954
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class