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 is sent by an application to an input method editor (IME) window to open or close the current IME.

Syntax

msg = (UINT)WM_IME_CONTROL;
wParam = (WPARAM)IMC_SETOPENSTATUS;
lParam = (LPARAM)
bOpen;

Parameters

bOpen

Boolean that is set to TRUE if the IME is opened, or to FALSE if the IME is closed.

Return Value

Zero indicates success. Nonzero indicates failure.

Remarks

When processing this message, the IME window changes the current input context.

Requirements

Header imm.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later