disabling default event handlers

  • Thread starter Thread starter Jon
  • Start date Start date
J

Jon

I have written a custom event handler for the mousewheel
event, but in addition to my custom event handler code,
the default event handler behavior is still being
executed. For the mousewheel event, I believe this is to
adjust the scrollbar position. This is producing
undesirable results in my application and I want to
disable this default behavior. Can anyone help me with
this?
 
If there is an OnMouseWheel virtual function then you should override this
and remove the line that calls the base class.
 
Back
Top