Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Ribbon tabs scroll instead of dialog controls
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon tabs scroll instead of dialog controls

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 931
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon tabs scroll instead of dialog controls
    Posted: 15 December 2010 at 10:49am
If a user has a dialog box displayed with any controls that react to the WM_MOUSEWHEEL event and the mouse happens to be over the dialog such that it is also positioned over the command ribbon (i.e., the ribbon is under the dialog), when the user scrolls, instead of the control on the dialog that has focus scrolling, the command ribbon scrolls (active tab changes).
 
Should the ribbon tab scrolling not ensure that the window under the mouse is actually the command ribbon?
 
To see this, bring up a dialog that has a combo box with items in the dropdown. Position the dialog so that it is over the ribbon. Move the mouse into the dialog and set focus on the combo box and position the mouse over the dialog so that the mouse is also over the ribbon. Then scroll the mouse. Instead of the combo box scrolling, the ribbon tabs react to the scroll event.
 
This happens for modal and non-modal dialogs. How is CJ even preventing a modal dialog from reacting? I thought a mouse hook could not prevent the app from seeing the event even if it did not forward the event to the next hook (guess I am wrong).
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: 16 December 2010 at 2:56am
Hello,

Thanks, its already fixed in last beta.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 931
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Posted: 16 December 2010 at 11:43am
You're fast man! Thanks.
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.047 seconds.