msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WM_QUERYCONVERTPOS (1.2)
                                                      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.
 
                                      ♦