Thanks for this idea, I thought it would do the trick but it does'nt work either. I tried that :
Dim cursmem As MapWinGIS.tkCursorMode
cursmem = winmap.CursorMode
.CursorMode = MapWinGIS.tkCursorMode.cmNone
'call form and insert point here
winmap.CursorMode = cursmem
winmap .Redraw()
After that, the new point appears with the rubber band rectangle between it and the cursor. Then,if I do a right click, selection box disappears and the new point is automatically centered in the map. Of course, I have no code to manage right click.
Dim cursmem As MapWinGIS.tkCursorMode
cursmem = winmap.CursorMode
.CursorMode = MapWinGIS.tkCursorMode.cmNone
'call form and insert point here
winmap.CursorMode = cursmem
winmap .Redraw()
After that, the new point appears with the rubber band rectangle between it and the cursor. Then,if I do a right click, selection box disappears and the new point is automatically centered in the map. Of course, I have no code to manage right click.