Share via


IMR_QUERYCHARPOSITION (Compact 2013)

3/28/2014

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

See Also

Reference

Input Method Manager (IMM) Messages
ImmIsUIMessage
IMECHARPOSITION

Other Resources

WM_IME_REQUEST
DefWindowProc