CRichEditCtx.GetIMEColormethod
Retrieves the Input Method Editor (IME) composition color.
Syntax
PRIVATE FUNCTION CRichEditCtx.GetIMEColor (BYVAL rgCmpclr AS .COMPCOLOR PTR) AS LONG
Parameters
| Name | Description | |
|---|---|---|
rgCmpclr | A pointer to a four-element array of COMPCOLOR structures. |
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
Gets the Input Method Editor (IME) composition color. This message is available only in Asian-language versions of the operating system.
Example
FUNCTION GetIMEColor (BYVAL rgCmpclr AS .COMPCOLOR PTR) AS LONG RETURN this.SetResult(SendMessageW(m_hRichEdit, EM_GETIMECOLOR, 0, cast(LPARAM, rgCmpclr))) END FUNCTION
Reference
- Defined in AfxNova/CRichEditCtx.inc:2146
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class