Compartilhar via


IMR_QUERYCHARPOSITION

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message is sent to the application when the selected IME needs information about the coordinates of a character in the composition string.

Syntax

wParam = wQueryCharPosition;
lParam = lpCharposition;

Parameters

  • wQueryCharPosition
    Set to IMR_QUERYCHARPOSITION.
  • lpCharposition
    Long pointer to a buffer that contains the IMECHARPOSITION structure.

Return Value

If the application filled the IMECHARPOSITION structure in lParam, return non-zero. Otherwise, return zero.

Remarks

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. Otherwise, this command should be passed on to the DefWindowProc or ImmIsUIMessage function if the application has its own IME UI window.

Requirements

Header imm.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ImmIsUIMessage
WM_IME_REQUEST
IMECHARPOSITION

Other Resources

DefWindowProc