IMC_SETCOMPOSITIONWINDOW

IMC_SETCOMPOSITIONWINDOW command

Instructs an IME window to set the style of the composition window. To send this command, the application uses the WM_IME_CONTROL message with the parameter settings shown below.


LRESULT IMC_SETCOMPOSITIONWINDOW

Parameters

wParam

Set to IMC_SETCOMPOSITIONWINDOW.

lParam

Pointer to a COMPOSITIONFORM structure that contains the style information.

Return Value

Returns 0 if successful, or a nonzero value otherwise.

Remarks

This command sets the style in the current input context, and the style is subsequently applied to each IME window that receives that input context.

By default, the IME window has the CFS_POINT style. With this style, the IME window uses the current caret position and window client area when it opens any composition window.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Imm.h (include Windows.h)

See also

Input Method Manager
Input Method Manager Commands
COMPOSITIONFORM
WM_IME_CONTROL

 

 

Show:
© 2016 Microsoft