NMouseWheelScrollAndZoomTool scrolls enclosing panel as well as map


NMouseWheelScrollAndZoomTool scrolls enclosing panel as well as map
Author
Message
Kevin Harrison 1
Kevin Harrison 1
Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)
Group: Forum Members
Posts: 176, Visits: 1.9K

One way to prevent this is to cast the MouseEventArgs to HandledMosueEventArgs and set Handled to true. However, I can see no way to achieve this, even though I have my own custom class derived from the tool (which restricts the action to occuring with Shift depressed).

How can I stop the panel scrolling as well as the map in this case?

Thanks

Kevin


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search