IMECHARPOSITION (Windows Embedded CE 6.0)

1/6/2010

This structure contains information about the character position in the composition window.

Syntax

typedef struct tagIMECHARPOSITION {
  DWORD dwSize;
  DWORD dwCharPos;
  POINT pt;
  UNIT cLineHeight;
  RECT rcDocument;
} IMECHARPOSITION, *PIMECHARPOSITION;

Members

  • dwSize
    Size, in bytes, of the structure.
  • dwCharPos
    Character offset in the composition string, in TCHARs.
  • pt
    A POINT structure containing the coordinate of the top left (based on character baseline in any text flow) point of requested character, in screen coordinates.
  • cLineHeight
    Height, in pixels, of a line that contains the requested character.
  • rcDocument
    A RECT structure containing the application's editable area for text, in screen coordinates

Remarks

When an application uses IME to draw the composition string, the members of this structure are automatically filled. Applications that draw the composition string themselves, rather than relying on the IME, are responsible for filling all the fields defined in the IMECHARPOSITION structure.

Requirements

Header imm.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Other Resources

Input Method Manager (IMM) Structures
POINT
RECT