Disable mouse wheel zoom

Nov 20, 2012 at 12:06 PM

Hi all,

i'm trying to disable zoom when i use my mouse wheel.

There is no event available on map control, so i had one on initialisation of my software, like this:

this.Map.MouseWheel += new MouseEventHandler(Map_MouseWheel);

and the callback function:

void Map_MouseWheel(object sender, MouseEventArgs e)
   if (MaxZoomOutIsReach() == true)
      // Zoom out has been reach, so do not send event to Map control
      // in order to avoid out of memory exception, due to quick mouse wheel
      /* Here to do: How to stop zooming ??? */


So now, i can detect my limit of zoom, but how can i disable message of zoom to Map object ?


Best regards.