Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Disable Mouse Wheel in Ribbon Tabs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disable Mouse Wheel in Ribbon Tabs

 Post Reply Post Reply
Author
Message
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post Topic: Disable Mouse Wheel in Ribbon Tabs
    Posted: 16 January 2007 at 8:47am
Hi!

How can I disable switching Tabs with Mouse Wheel?
I have a lots of lists that are close to the Toolbar and are scrolled using mouse wheel. If mouse cursor is over a RibbonBar when mouse wheel is used, RibbonBar captures it, takes focus and changes Tabs.
I Would like to disable this functionality. Is there a way?
 
Thanks!
 
Bojan Hrnkas
Back to Top
Tsenoh View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2006
Status: Offline
Points: 69
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tsenoh Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2007 at 9:29am
Anybody?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2007 at 11:16am
Hi,
Override CFrameWnd::PretranslateMessage and return FALSE if message is WM_MOUSEWHEEL
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.