Platform SDK: International Features |
The COMPOSITIONFORM structure contains style and position information for a composition window.
typedef struct tagCOMPOSITIONFORM { DWORD dwStyle; POINT ptCurrentPos; RECT rcArea; } COMPOSITIONFORM, *PCOMPOSITIONFORM;
Value | Meaning |
---|---|
CFS_DEFAULT | Moves 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 | Displays 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_POINT | Displays 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_RECT | Displays the composition window at the position specified by rcArea. The coordinates are relative to the upper-left of the window containing the composition window. |
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.
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Imm.h.
Input Method Editor Overview, Input Method Editor Structures, POINT, RECT