CRichEditCtx.SetPalettemethod
Changes the palette that a rich edit control uses for its display window.
Syntax
SUB SetPalette (BYVAL newPalette AS HPALETTE)
Parameters
| Name | Description | |
|---|---|---|
newPalette | Handle to the new palette used by the rich edit control. |
Return value
This method does notreturn a value.
Description
Changes the palette that a rich edit control uses for its display window.
Remarks
The rich edit control does not check whether the new palette is valid.
Reference
- Defined in AfxNova/CRichEditCtx.inc:2993
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class