Platform SDK: International Features

ImmSetCompositionWindow

The ImmSetCompositionWindow function sets the position of the composition window.

BOOL ImmSetCompositionWindow(
  HIMC hIMC,                    
  LPCOMPOSITIONFORM lpCompForm  
);

Parameters

hIMC
[in] Handle to the input context.
lpCompForm
[in] Pointer to a COMPOSITIONFORM structure that contains the new position and other related information about the composition window.

Return Values

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is zero.

Remarks

The ImmSetCompositionWindow function causes an IMN_SETCOMPOSITIONWINDOW command to be sent to the application.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Imm.h.
  Library: Use Imm32.lib.

See Also

Input Method Editor Overview, Input Method Editor Functions, COMPOSITIONFORM, IMN_SETCOMPOSITIONWINDOW