Share via


WM_IME_CHAR (Windows CE 5.0)

Send Feedback

This message is sent to an application when the IME gets a character of the conversion result. Unlike the WM_CHAR message, this message can include double-byte as well as single-byte character values.

chCharCode1 = (WORD)wParam;lKeyData = lParam;

Parameters

  • chCharCode1
    For double-byte character sets: Specifies a single- or double-byte character value. For a double-byte character, chCharCode1 contains the lead byte.

    For Unicode: Specifies a Unicode character value.

  • chCharCode2
    For double-byte character sets: Specifies a single- or double-byte character value.

  • lKeyData
    Specifies the repeat count, scan code, context code, and conversion-state flag.

    The following table shows the values that this parameter can take.

    Value Description
    0–15 Repeat count: Because the first byte and second byte is continuous, this is always 1.
    16–23 Scan Code: Scan code for a complete FE character.
    24–28 Not used.
    29 Context code.
    31 Conversion state.

Return Values

None.

Remarks

If the WM_IME_CHAR message includes a double-byte character and the application passes this message to the DefWindowProc function, the IME converts this message into two WM_CHAR messages, each containing one byte of the double-byte character.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Imm.h.

See Also

DefWindowProc | WM_CHAR

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.