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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top