CRichEdit.SetPalettemethod
Deprecated. Sets the text layout for a Microsoft Rich Edit control.
Syntax
SUB SetPalette (BYVAL hRichEdit AS HWND, BYVAL newPalette AS HPALETTE)
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
newPalette | Handle to the new palette used by the rich edit control. |
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/CRichEdit.inc:1118
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class