Request for Coordinate Conversion Category sample

  • Hi,

    I've been looking into the Coordinate Conversion Category. I am needing to position a listbox below a merge field in order to implement functionality similar to IntelliSense i.e. show a listing of available items to choose from for the field.

    I've been attempting to do this using the IWPMemo.GetXY method. From my testing there does not seem to be a correlation between the values returned by GetXY() and the actual cursor position. Could this be a scaling issue? Are there any other properties that affect the coordinates returned through this method? My editor is using the layout mode of wplayFullLayout.

    Can you please provide a short example of how to perform the calculations to position a control at the cursor location. My development environment is VB.Net 2005.

    Regards,

    Kurt

    • Offizieller Beitrag

    Hi,

    there was indeed a problem. That has been fixed in V1.35.

    I suggest to use Mode=1 to request Client coordinates, then you only have to add the Left/Top coordinates of the editor and you have the position where to place the popup menu.

    Julian