WM_IME_CHAR (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

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 Value

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

Header imm.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Other Resources

Input Method Manager (IMM) Messages
DefWindowProc
WM_CHAR