Share via


WM_IME_CONTROL (Compact 2013)

3/28/2014

This message directs the IME window to carry out the requested command. An application uses this message to control the IME window created by the application.

Syntax

wParam = (WPARAM) (DWORD) dwCommand; 
lParam = (LPARAM) (DWORD) dwData;

Parameters

  • dwCommand
    Command value. The following table shows the possible values for dwCommand.

    Value

    Description

    IMC_GETCOMPOSITIONFONT

    An application sends the IMC_GETCOMPOSITIONFONT message to an IME window to retrieve the logical font used for displaying intermediate characters in the composition window.

    IMC_GETCOMPOSITIONWINDOW

    An application sends this message to an IME window to get the position of the composition window.

    IMC_GETCONVERSIONMODE

    This message is sent by an application to an IME window to obtain the current conversion mode.

    IMC_GETOPENSTATUS

    This message is sent by an application to an IME window to determine whether the IMEis open.

    IMC_GETSENTENCEMODE

    This message is sent by an application to an input method editor (IME) window to obtain current sentence mode.

    IMC_GETSTATUSWINDOWPOS

    This message is sent by an application to an IME window to get the position of the status window.

    IMC_CLOSESTATUSWINDOW

    This message is sent by an application to the input method editor (IME) window to hide the status window.

    IMC_OPENSTATUSWINDOW

    This message is sent by an application to the IME window to show the status window.

    IMC_SETCANDIDATEPOS

    This message is sent by an application to an IME window to set the position of the candidate window.

    IMC_SETCOMPOSITIONFONT

    This message is sent by an application to an IME window to specify the logical font to use for displaying intermediate characters in the composition window.

    IMC_SETCOMPOSITIONWINDOW

    This message is sent by an application to an input method editor (IME) window to set the style of the composition window.

    IMC_SETCONVERSIONMODE

    This message is sent by an application to an IME window to set current conversion mode.

    IMC_SETOPENSTATUS

    This message is sent by an application to an input method editor (IME) window to open or close the current IME.

    IMC_SETSENTENCEMODE

    This message is sent by an application to an IME window to set the current sentence mode.

    IMC_SETSTATUSWINDOWPOS

    This message is sent by an application to an IME window to set the position of the status window.

    • dwData
      Command-specific value.

    Return Value

    Returns a command-specific value.

    Requirements

    Header

    imm.h

    See Also

    Reference

    Input Method Editor (IME) Window Messages