CRichEditCtx.SetIMEColormethod
Sets the Input Method Editor (IME) composition color.
Syntax
PRIVATE FUNCTION CRichEditCtx.SetIMEColor (BYVAL pcompcolor AS .COMPCOLOR PTR) AS LONG
Parameters
| Name | Description | |
|---|---|---|
pcompcolor | Pointer to a COMPCOLOR structure that contains the composition color to be set.. |
Return value
If the operation succeeds, the return value is a nonzero value. If the operation fails, the return value is zero. Call GetErrorInfo to get information about the result.
Description
Sets the Input Method Editor (IME) composition color. This message is available only in Asian-language versions of the operating system.
Example
FUNCTION SetIMEColor (BYVAL pcompcolor AS .COMPCOLOR PTR) AS LONG RETURN this.SetResult(SendMessageW(m_hRichEdit, EM_SETIMECOLOR, 0, cast(LPARAM, pcompcolor))) END FUNCTION
Reference
- Defined in AfxNova/CRichEditCtx.inc:2154
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class