This project is read-only.

Disable mouse wheel changing ribbon tab

Nov 4, 2013 at 10:53 AM
Anyone knows how to disable mouse wheel changing ribbon tab?
Similar like this issue:

"With Microsoft Word 2007 office there is now a ribbon with tabs. Often I wish to scroll the document with mouse middle button scroll wheel, however, if the mouse is hovering over the ribbon, the tabs of the ribbon are scrolled instead, this is never what I want.

Is there a way to disable mouse wheel scrolling the ribbon and instead have it scroll the document?"

Thank you very much in advanced.
Feb 6, 2014 at 3:43 PM
I use the "PreviewMouseWheel" eventhandler:

<fluent:Ribbon ... PreviewMouseWheel="Ribbon_OnPreviewMouseWheel" ...> ...
    private void Ribbon_OnPreviewMouseWheel(object sender, MouseWheelEventArgs e)
        e.Handled = true;
Works on my machine ;)
Feb 10, 2014 at 5:51 PM
Even Office scrolls the Ribbon when you hover it.
So you should rethink your plans disabling this, as your software wouldn't behave the same as Office does.
Marked as answer by batzen on 6/28/2014 at 2:08 AM