none
Mouse Wheel Scrolls Wrong Control (IMO)

    Question

  • Please see this thread in another forum http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/e66cbe26-00c0-4d63-b5a2-9ad921820205/

    And please see this post in the Connect Suggestion VS2008 box https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=425106

    I don't know if what I'm seeking can be done with an IDE extension, - if it can't then that's OK because I'd be surprised if it could be easily handled by an extension or via the VS SDK.

    Thanks
    Thursday, March 19, 2009 9:57 AM

Answers

  • I've never tried it, but I believe you could modify this behavior with custom toolwindows that you develop yourself.  There is no way to make a modification that would change this behavior for the entire IDE.  VS is just using the standard windows mouse scroll behavior where the window with focus receives the scrolling messages.  I have seen applications that modifiy this behavior (such as the 3rd party programmer's editor, SlickEdit) so it is technically possible.

    I think you are going to have to wait and see what the reply is to the Connect post and see if it gets any votes.
    • Proposed as answer by Darren Stokes Friday, March 20, 2009 12:46 PM
    • Marked as answer by Wesley Yao Wednesday, March 25, 2009 3:06 AM
    Friday, March 20, 2009 12:34 PM
  • gDay Planet

    I found it at last, works on EVERYTHING, its brilliant should be in Windows kernel, its called WizMouse, its free and you can get it from following,

    http://antibody-software.com/web/software/software/wizmouse-makes-your-mouse-wheel-work-on-the-window-under-the-mouse/

    now I can die a happy man RP
    • Marked as answer by RightPaddock Monday, August 17, 2009 4:07 AM
    Monday, August 17, 2009 3:57 AM

All replies

  • I've never tried it, but I believe you could modify this behavior with custom toolwindows that you develop yourself.  There is no way to make a modification that would change this behavior for the entire IDE.  VS is just using the standard windows mouse scroll behavior where the window with focus receives the scrolling messages.  I have seen applications that modifiy this behavior (such as the 3rd party programmer's editor, SlickEdit) so it is technically possible.

    I think you are going to have to wait and see what the reply is to the Connect post and see if it gets any votes.
    • Proposed as answer by Darren Stokes Friday, March 20, 2009 12:46 PM
    • Marked as answer by Wesley Yao Wednesday, March 25, 2009 3:06 AM
    Friday, March 20, 2009 12:34 PM
  • Darren Stokes said:

    I've never tried it, but I believe you could modify this behavior with custom toolwindows that you develop yourself.  There is no way to make a modification that would change this behavior for the entire IDE.  VS is just using the standard windows mouse scroll behavior where the window with focus receives the scrolling messages.  I have seen applications that modifiy this behavior (such as the 3rd party programmer's editor, SlickEdit) so it is technically possible.

    I think you are going to have to wait and see what the reply is to the Connect post and see if it gets any votes.

    Hi Darren,  yes it's definitely feasible, we have in house apps that do it and I've seen commercial apps that do it too, and as I remarked this discussion forum itself does it. 

    It's a little bit tricky, the focus window can easily determine whether or not the pointer is within its bounds, if it is then it does its stuff, if it isn't it needs to determine which window is under the pointer, give that window focus, relay the scroll wheeel message to that window with the request "when you're done scrolling return focus to me".

    I was not anticipating that I'd get an answer here, but as my original interlocutor suggested I might then I it would have been impolite not to try.

    Cheers from RightPaddock
    Friday, March 20, 2009 9:50 PM
  • gDay Planet

    I found it at last, works on EVERYTHING, its brilliant should be in Windows kernel, its called WizMouse, its free and you can get it from following,

    http://antibody-software.com/web/software/software/wizmouse-makes-your-mouse-wheel-work-on-the-window-under-the-mouse/

    now I can die a happy man RP
    • Marked as answer by RightPaddock Monday, August 17, 2009 4:07 AM
    Monday, August 17, 2009 3:57 AM