Share via


IMC_SETCOMPOSITIONWINDOW (Compact 2013)

3/28/2014

This message is sent by an application to an input method editor (IME) window to set the style of the composition window. The message set this style in the current input context and the style is subsequently applied to each IME window that receives that input context.

Syntax

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

Parameters

  • &CompForm
    Pointer to the COMPOSITIONFORM structure that contains the style data.

Return Value

Zero indicates success. Nonzero indicates failure.

Remarks

By default, the IME window has the CFS_POINT style. This means the IME window uses the current caret position and window client area when it opens a composition window.

Requirements

Header

imm.h

See Also

Reference

Input Method Manager (IMM) Messages
COMPOSITIONFORM