Share via


Input Method Editor (IME) Window Messages (Compact 2013)

3/28/2014

The system sends Input Method Editor (IME) window messages to the window that has focus when certain events occur.

In This Section

  • WM_IME_CHAR
    This message is sent to an application when the IME gets a character of the conversion result.
  • WM_IME_COMPOSITION
    This notifies an application about changes to the composition string.

    To process this message, applications test the bits in the lParam parameter and call the ImmGetCompositionString function to retrieve the indicated string or data.

  • WM_IME_COMPOSITIONFULL
    This message is sent to an application when the IME window finds no space to extend the area for the composition window.
  • WM_IME_KEYDOWN
    This message is sent to an application by the IME to notify the application of a key press.
  • WM_IME_KEYUP
    This message is sent to an application by the IME to notify the application of a key release
  • WM_IME_NOTIFY
    Signifies a general change to the status of an IME window.
  • WM_IME_REQUEST
    This message requests information about the state of the IME.
  • WM_IME_SELECT
    This message is sent to an application when the system is about to change the current IME. An application that has created an IME window should pass this message to that window so that it can retrieve the keyboard layout handle for the newly selected IME.
  • WM_IME_SETCONTEXT
    The system sends this message when a window is activated.

    IME-unaware windows pass these messages to the DefWindowProc function, which sends them to the corresponding default IME window. IME-aware windows either process these messages or forward them to their own IME windows.

  • WM_IME_STARTCOMPOSITION
    This message is sent immediately before the IME generates a composition string because of a keystroke.

See Also

Reference

Input Method Editor Reference