ITextHost2::TxGetPalette method (textserv.h)
Retrieves the color palette of the rich edit control.
C++
HPALETTE TxGetPalette();
Type: HPALETTE
Returns the color palette, or NULL if the control uses the system default color palette.
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 |