◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINWINDOWMGR WM_QUERYCONVERTPOS prclCurPos = (PRECTL) PVOIDFROMMP(mp1); /* pointer to RECTL */ The WM_QUERYCONVERTPOS message is sent by the Kanji conversion window in order to determine whether to begin conversion and where to position the conversion window. Parameter Description ──────────────────────────────────────────────────────────────────────────── prclCurPos Low and high word of mp1. Points to a RECTL structure in which to place the cursor position. Return Value An application should return a conversion code. This code can be one of the following values: Value Meaning ──────────────────────────────────────────────────────────────────────────── QCP_CONVERT Conversion may be performed for the window with the input focus. The RECTL structure pointed to by the prclCurPos parameter has been filled with a rectangle that describes where the text cursor is located and that will be used as a guide for positioning the conversion window. The rectangle must be given in window coordinates. QCP_NOCONVERT No conversion should be performed. The window with the input focus cannot deal with DBCS characters. The RECTL structure pointed to by the prclCurPos parameter has not changed. ♦