Share via


ImmSetCompositionWindow (Compact 2013)

3/28/2014

This function sets the position of the composition window.

Syntax

BOOL ImmSetCompositionWindow(
  HIMC hIMC, 
  LPCOMPOSITIONFORM lpCompForm
);

Parameters

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

Return Value

Nonzero indicates success. Zero indicates failure.

Remarks

The ImmSetCompositionWindow function causes a IMN_SETCOMPOSITIONWINDOW message to be sent to the application.

Requirements

Header

imm.h

Library

Coreimm.lib

See Also

Reference

Input Method Manager (IMM) Functions
COMPOSITIONFORM