Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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_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 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
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later