Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: problem with ShowDialog()

$
0
0
Hi Tristan,

Yes, I think it is bad to interrupt the mouse down event. Mouse down could be the first step of a zoom, pan, draw a selection box. So changing the cursor in the middle of that behavior is going to be problematic.

I don't know if this will help, but what I do is derive a mouse click by setting a "possibleMouseClick" flag on a mouse down then raise my own click event on a mouse up if the mouse hasn't moved in the interim. This has worked very well for me, and I've had no issues with cursors, redraws, or modes (select, pan, zoom, etc.).

Don

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>