This project is read-only.

Problem with method ShowToolTip(String, int) of MapWinGIS

Feb 22, 2014 at 11:13 AM
Edited Feb 22, 2014 at 11:17 AM
Hello !
I have a problem with the ShowToolTip method of MapWinGIS :

ToolTip is displayed correctly, but my main form lose the focus when tooltip is displayed and regagned it when tooltip is hide (every 500 milliseconds for me). It creates some problems with others functionnality which have need the focus to work (Zoom in/out, move map ect...).
I display the tooltip indiside the mouseMoveEvent of AXMAP. I check if there is shape under the mouse, and if it is, I display the String attribute SHAPE.KEY.

Do you have idea about my problem ?


Feb 28, 2014 at 2:34 PM

I never tried AxMap Tooltip but as a workaround, you can use standard .net tooltip like I do with
Dim mapTooltip As New ToolTip() and load parameters with shape.key before displaying it.