Nevron Forum

NMouseWheelScrollAndZoomTool scrolls enclosing panel as well as map

https://www.nevron.com/Forum/Topic8387.aspx

By Kevin Harrison 1 - Thursday, January 2, 2014

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