Share via


IMC_GETCOMPOSITIONWINDOW

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message is sent by an application to an input method editor (IME) window to get the position of the composition window. Because the IME may adjust the composition window position, an application uses this message to get the actual position to decide whether to reposition the window.

Syntax

msg = (UINT)WM_IME_CONTROL;
wParam = (WPARAM)IMC_GETCOMPOSITIONWINDOW;
lParam = (LPARAM)&CompForm;

Parameters

  • &CompForm
    Pointer to the COMPOSITIONFORM structure that receives the position of the composition window.

Return Value

Zero indicates success. Nonzero indicates failure.

Remarks

The returned position is in window coordinates relative to the window having the current input focus.

Requirements

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

See Also

Reference

COMPOSITIONFORM