COMPOSITIONFORM structure

Contains style and position information for a composition window.

Syntax


typedef struct tagCOMPOSITIONFORM {
  DWORD dwStyle;
  POINT ptCurrentPos;
  RECT  rcArea;
} COMPOSITIONFORM, *PCOMPOSITIONFORM;

Members

dwStyle

Position style. This member can be one of the following values:

ValueMeaning
CFS_DEFAULTMove the composition window to the default position. The IME window can display the composition window outside the client area, such as in a floating window.
CFS_FORCE_POSITIONDisplay the upper left corner of the composition window at exactly the position specified by ptCurrentPos. The coordinates are relative to the upper left corner of the window containing the composition window and are not subject to adjustment by the IME.
CFS_POINTDisplay the upper left corner of the composition window at the position specified by ptCurrentPos. The coordinates are relative to the upper left corner of the window containing the composition window and are subject to adjustment by the IME.
CFS_RECTDisplay the composition window at the position specified by rcArea. The coordinates are relative to the upper left of the window containing the composition window.

 

ptCurrentPos

A POINT structure containing the coordinates of the upper left corner of the composition window.

rcArea

A RECT structure containing the coordinates of the upper left and lower right corners of the composition window.

Remarks

Some IME windows adjust the composition window position specified by the system or the application. The CFS_FORCE_POSITION directs the IME window to skip this adjustment.

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 Structures

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.