COMPOSITIONFORM structure

Contains position information for a composition window.

Syntax

typedef struct {
  DWORD dwStyle;
  POINT ptCurrentPos;
  RECT  rcArea;
} COMPOSITIONFORM;

Members

dwStyle

Unsigned long integer value that contains the position style. This can be one of the following values:

CFS_DEFAULT

Move 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_POSITION

Display the upper-left corner of the composition window at exactly the position given 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_POINT

Display the upper-left corner of the composition window at the position given 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_RECT

Display the composition window at the position given by rcArea. The coordinates are relative to the upper-left corner of the window containing the composition window.

ptCurrentPos

POINT value that contains the coordinates of the upper-left corner of the composition window.

rcArea

RECT value that contains the coordinates of the upper-left and lower-right corners of the composition window.

Remarks

This structure maps to the COMPOSITIONFORM structure documented in the Windows Software Development Kit (SDK).

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dimm.h

IDL

Dimm.idl