IMECHARPOSITION (Windows CE 5.0)
This structure contains information about the character position in the composition window.
typedef struct tagIMECHARPOSITION {DWORDdwSize;DWORDdwCharPos;POINTpt;UNITcLineHeight;RECTrcDocument;} 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
OS Versions: Windows CE .NET 4.0 and later.
Header: Imm.h.
See Also
Send Feedback on this topic to the authors