On Windows 7, is there any way to make the scrollwheel's focus follow the mouse?

52,155

Solution 1

X-Button Mouse Control!

This thing rocks... it is very intuitive to tech-people, don't know about to a normal person ) but if you figure it out, it is really powerful.

http://www.highrez.co.uk/downloads/XMouseButtonControl.htm

and yes it solves this scroll/hover problem too:

  • In the 'Default' profile change 'Wheel Up' to 'Scroll Window Up' and 'Wheel Down' to 'Scroll Window Down'.

but it is so much more

For instance some of the things I use it for:

  • I have a Logitech Marathon mouse which is great because it has hyperscrolling and the batteries last 2 years but in Chrome for some reason when the hyper wheel is spinning, sometimes it can zoom your pages when you press CTRL. This happens a lot. So with this app I disable ctrl-mouse wheel when chrome is being used. Something that cannot be done by chrome itself

    • I set it up to alt-wheel up/down control the system volume. Quite useful

    • I configured alt-left click to take a screen shot of the active window, alt-right click for a full screenshot

    • I set 'Alt' key to activate 'Layer 2' (Settings > Modifier Keys), then on 'Default' profile in the Layer 2 I set Wheel Up/Down to scroll Window Left/Right respectively.

Solution 2

To get my Windows installation to scroll like Linux does (whatever the mouse is over is scrolled without necessarily having to have focus), I use a very small freeware app called AlwaysMouseWheel. Couldn't live without it on Windows.

Solution 3

My favored solution is to use Wizmouse.

The Ease of Access setting merely sets Window Focus. Wizmouse sends scroll commands to the underlying window without setting the active window.

There are a few caveats. Namely, WPF and Silverlight application with subpanes won't play nice. For WPF application examples that would be Visual Studios and Expressions Studios. Some areas of Powerpoint also get whacked, but otherwise it performs as expected.

Solution 4

NEW INFO:

If you've got Windows 7, it's in the accessibility settings: http://www.howtogeek.com/howto/windows-vista/switch-windows-by-hovering-the-mouse-over-a-window-in-windows-vista/

Some mouse drivers all this. It's a modification of "set focus".

Basically, in Windows the developers assumed you may not necessarily want to control what your mouse is over, and so they told the system to wait for you to click on a window before focus was removed from the previous window and assigned to the one you selected.

If the system is set to "set focus" to whichever program your mouse pointer is over, if you're merely trying to get your mouse out of the way and you move it over a different window, whatever you are doing will start occurring in whatever window your mouse is over. You cannot separate "scroll focus" from "full focus".

As long as you're aware of this and know how it may affect how you use your computer, if your mouse is capable of this (it's dependent on your mouse and drivers) you should find an option in your Mouse settings in the Control Panel.

Solution 5

taekwindow is a free (BSD license) sofware which solves this problem.

What exactly does it do?

In full detail, Taekwindow allows you to do the following:

  • move a window by grabbing it anywhere (not just the title bar) while holding the Alt key, and then dragging with the left mouse button;
  • resize a window by grabbing it anywhere (not just the tiny little border) while holding the Alt key, and then dragging with the right mouse button;
  • move a maximized window between monitors by Alt-dragging;
  • use the scroll wheel on the window under the cursor, instead of the currently focused window;
  • push a window to the background by middle-clicking on its title bar.

All these features can be configured to your liking.

  • When you start running taekwindow, its icon appears in the system tray.
  • Right click on it and choose Preferences...
  • Then go to the Scrolling tab and check Scroll the window under the cursor.
  • You can have taekwindow starting automatically by checking Start when logging on in the General tab.
Share:
52,155

Related videos on Youtube

iconoclast
Author by

iconoclast

Updated on September 18, 2022

Comments

  • iconoclast
    iconoclast over 1 year

    On Mac OS X I can mouse over something (without clicking on it or giving it complete focus) and use the scroll wheel to scroll it. On Windows (7 at least) which I'm forced to use in my new job, it does not work this way. Is there any way to change this behavior?

    I notice that Firefox does this within the app: if any Firefox windows have focus then you can scroll any other Firefox window that doesn't. (So at least the Firefox people think this is a useful feature! And so anyone not familiar with how it works on OS X can see what I'm talking about.)

    I remember TweakUI (which does not seem to be available for Windows 7) having a setting for "Focus follows mouse", but I don't recall if it allowed setting that only for the scroll wheel. I don't want the full X-Windows style focus-follows-mouse setting, just the ability to scroll whatever I mouse over.

    UPDATE: According to @Mikey's comment, this is now built into Windows 10.

    UPDATE: it has been suggested that my question is a duplicate of this question. That question seems to be concerned specifically with multiple controls on a single window, where keyboard focus is on the wrong control, but not on the wrong window. I'm asking about a situation with multiple windows. Any given solution has the potential to handle both use cases, but it is not a foregone conclusion that it would. It would be possible for any piece of software to handle one use case and not the other. They are similar, but they are not the same question.

    • Dan D.
      Dan D. over 12 years
      i like this feature too, but i'm on linux (Debian 5.0.8) with Gnome 2.22.3; i even modified mupdf (a fast pdf viewer) to page with the scroll wheel.
    • iconoclast
      iconoclast almost 12 years
      An explanation of how you modified mupdf, explaining each line of code added/modified/removed would make an interesting blog post!
    • Be Brave Be Like Ukraine
      Be Brave Be Like Ukraine almost 12 years
      Possible duplicate: superuser.com/questions/29459/…
    • Admin
      Admin over 10 years
      If your work upgrades you from Windows 7 to 8, bear in mind that this and other programs like it (all the ones I've tried anyway) break scrolling in the Metro/Modern UI. In other words, these scrolling programs work as expected in the classic desktop view, but when you switch to the Metro/Modern UI, you won't be able to mouse scroll in some or all of the apps. It's really annoying, and I haven't found a solution yet.
    • Mikey
      Mikey over 8 years
      windows 10 has this feature built in and works very well actually
    • Admin
      Admin about 8 years
    • iconoclast
      iconoclast about 8 years
      @none: this was posted in 2011, and you marked it as a duplicate of something posted in 2013!? Please pay attention to dates.
    • PutsandCalls
      PutsandCalls almost 8 years
      @iconoclast Did you ever get this solution figured out ? I am looking for something similar for windows 10 which is similar to a mac in that I can just hover my mouse over another window and scroll even if it is not the window that is in focus. For instance, I can have a text window in the background while currently typing this message but I would still be able to scroll the text window in the background without switching focus on the current window. Was that what you were looking for ?
    • PutsandCalls
      PutsandCalls almost 8 years
      @Mikey Which feature are you talking about ? Would you mind sharing please ?
    • Mikey
      Mikey almost 8 years
      @PutsandCalls the title question feature, scrolling over a background window will move the scrollbars - this didn't use to happen in previous versions of windows unless you installed special software (like those described on this page)
    • chharvey
      chharvey about 7 years
  • Nick
    Nick over 12 years
    This seems to recreate the OS X style of scrolling non-focused windows quite well, a new must-have program on my Windows machines!
  • iconoclast
    iconoclast almost 12 years
    This is awesome! It works, and since it is portable I don't have to get permission from my manager to install it. (A nasty side-effect of working in a Windows shop is the paranoia about installing software.)
  • iconoclast
    iconoclast almost 12 years
    Sorry I haven't tested this yet because it is hard to get permission for installation of software that doesn't help me do development in some obvious way. (Anything that modifies the OS's default behavior is especially highly suspect.)
  • iconoclast
    iconoclast almost 12 years
    This is not what I was asking for. That setting brings the window to the top. I simply want to scroll it where it is. This was explained in the last paragraph of my question, especially the last sentence.
  • Vedant
    Vedant over 10 years
    The Visual Studio bug appears to be fixed with current versions of both WizMouse and Visual Studio 2013. Sometimes the VS window gets pulled up above the others while it scrolls, but it does get scrolled.
  • vaitrafra
    vaitrafra almost 10 years
    This is awesome. This works perfectly in Visual Studio 2005/2010 giving focus to the various panes without having to click to get the focus. I tryed out alwaysmousewheel but that does not work so well with VS. Thanks.
  • iconoclast
    iconoclast over 9 years
    After getting frustrated with AlwaysWheelMouse I've switched to this. It does so much more than AlwaysWheelMouse, and without the annoyances (a splash screen that always appears even when you've set it not to, and a button that implies it dismisses the splash screen actually closing the program).
  • Mikey
    Mikey over 9 years
    it's the best, but if want something just as awesome to use (you can use both of them together)... download Strokes Plus. It's highly configurable, very accurate gesture recognition (i.e. hold right mouse button down and draw something - like for me I have a slash to open explorer... a V for chrome, and many many others like all the built in copy/paste, close window, maximize window, minimize window) strokesplus.com - oh, hmm.. according to video there it can also do the mouse scroll thing... didn't know that.
  • iconoclast
    iconoclast over 9 years
    This is (according to the tutorial) an X11-style focus-follows-mouse, which is specifically not what I want.
  • iconoclast
    iconoclast over 9 years
    I recommend you try X-Button Mouse Control. No annoying splash screen to always dismiss, and a ton of other features too. Also, since your answer doesn't really solve the problem raised in the question, it's probably best to delete it before anyone downvotes.
  • DavidPostill
    DavidPostill over 8 years
    Please read How do I recommend software for some tips as to how you should go about recommending software. At the very least you should provide more than just/at least a link, for example some additional information about the software itself, and how it can be used to solve the problem in the question.
  • CroCo
    CroCo over 8 years
    GREATTTTTTTTTTTTTTTTTTTT!
  • Paul Slocum
    Paul Slocum almost 8 years
    Does not work for me anymore on Win7. XButtonMouseControl works great though.
  • Amos M. Carpenter
    Amos M. Carpenter almost 8 years
    @PaulSlocum: Have you tried running it as admin? If running in normal mode, it won't scroll windows that run in admin mode. Up until recently, I worked at a place where they had some strange group policy that would periodically interfere with it, and I didn't have admin rights (win7), so I'd have to kill and restart it every few days. Works fine at home (win7, normal mode) and at my new place of work (win8, admin mode), though.
  • user2995603
    user2995603 almost 8 years
    74K download size has to be mentioned in today's MB/GB world!
  • Steven C. Howell
    Steven C. Howell over 6 years
    Without Admin privileges, while not perfect, this solutions seems the closest option.
  • Marcello Romani
    Marcello Romani over 6 years
    I agree with @iconoclast this is not entirely what was asked for (and FWIW what I was after as well) but it does the job.
  • Community
    Community over 2 years
    Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.