ITextHost2::TxGetPalette method (textserv.h)

Retrieves the color palette of the rich edit control.

Syntax

HPALETTE TxGetPalette();

Return value

Type: HPALETTE

Returns the color palette, or NULL if the control uses the system default color palette.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header textserv.h
DLL Msftedit.dll

See also

EM_SETPALETTE

ITextHost2