Disable mouse wheel horizontal Scrolling ?
Does anybody know of a way to disable horizontal scrolling when using the mouse wheel ?
The vertical scroll bar is moved off screen? Huh? It's anchored to the right side of a window. How could it be moved off?
Brad Wilson (dotnetguy.techieswithcats.com)
Eric -- I can't reproduce, I've never seen the behaviour you describle with any mouse. What type of mouse are you using? What OS? With my Microsoft mouse under Windows XP, rolling the mouse wheel *always* a window scrolls up and down irrespective of where the window is placed on the screen or its complement of scroll bars. Have you fiddled with the settings in Control Panel > Mouse?
If I remember correctly this happened under Win2k and VS 6 .. I'm running XP now so I can't check. However, I do remember that in certain situations I would have the exact same annoying behaviour.
Exactly. I'm using Visual Studio 6. When I move one of my source windows to the side so that only the left half of it is shown in the MDI frame, and the vertical scroll bar is 'off screen' using the scroll wheel results in horizontal scrolling because that scroll bar is still visible. I am using IntelliPoint 4.12 with an IntelliMouse Explorer.
By the way, I think using the same function for two different things is confusing as hell. Horizontal scrolling is not something you want to do often, as opposed to vertical scrolling (you do that all the time: sources, websites, helpfiles, etc).
I know what you're talking about. Very aggravating.
Fog Creek Home