AnsweredAssumed Answered

MouseMove Events without Tool

Question asked by j.buchtaesri-de-esridist Employee on Aug 3, 2015
Latest reply on Aug 14, 2015 by FGibson-esristaff

While exploring the SDK, I tried to display the current Map Coordinates in a DockPane, similar to the stock display at the bottom of the map. The idea was to have the pane updated always, regardless of the activated tool (e.g. Select Tool or Editing Tool).


The problem is, I haven't found the corrects events, two different approaches failed:

1. Subscribe for Application.Window.MouseMove --> The events aren't raised while the mouse pointer is over the map

2. Override OnToolMouseMove --> Only one tool can be active at a given time


I'm not sure, if I have either overseen any existing functionality, if it's a missing API in the SDK or if this kind of functionality is not available on purpose. The latter one could make sense to keep the application responsive, whatever the SDK user implements...


Can anybody comment on this, please?


Kind Regards