Share via


WM_IME_CONTROL

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.

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

Parameters

  • dwCommand
    Command value. The following table shows the possible values for dwCommand.
    Value Description
    IMC_GETCANDIDATEPOS This message is sent by an application to an IME window to get the position of the candidate window.
    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 IME is 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 Values

Returns a command-specific value.

Requirements

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

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.