9

Does anyone know how to set focus follows mouse, focus auto-raise, and auto-raise delay in Windows 7?

I've tried Ultimate Windows Tweaker, but that doesn't seem to have any mouse settings.

I found a site Here that shows how to edit the registry to get focus follows mouse and auto-raise, but I'd like to be able to set the delay now.

Ideally there's some software out there - like x-mouse for XP - which lets you control all three without having to edit the registry.

Randall
  • 306
Scott
  • 244

5 Answers5

8

To control just having auto-focus and auto-raise, type "change how" in the start menu search, select the "Change how your mouse works" item, and check the checkbox for "Activate a window by hovering over it with the mouse".

The delay requires reg tweaking (or a third party program), I believe the key is

HKEY_CURRENT_USER\Control Panel\Desktop\ActiveWndTrkTimeout

If the key doesn't exist, create it as a new DWORD value. Here's the documentation for the key: https://technet.microsoft.com/en-us/library/cc957203.aspx. You also need to log out and in for the changes to take effect.

Note that ActiveWndTrackTimeout does not appear to affect auto-focus/auto-raise, while ActiveWndTrkTimeout does.

1

Change registry setting \\Computer\HKEY_CURRENT_USER\Control Panel\Mouse\MouseHoverTime to 2000

See here for more info.

Brad Patton
  • 10,668
Jay
  • 19
0

Screenshot of the main window of X-Mouse Controls, running on Windows 10

When Tweak UI was first discontinued with the release of Windows Vista, I developed X-Mouse Controls so you can enable focus follows mouse, disable auto-raising, adjust the delay without registry edits nor logging out/rebooting.

X-Mouse Controls: Windows utility to enable or disable active window tracking, raising and also the delay in milliseconds. This is known as x-mouse behavior or focus follows mouse.

Works on Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003. Might work on other versions as well.

You only need to run it when you want to change the settings (no extra memory usage), free/libre open source, and takes care of the details for you.

Joel Purra
  • 1,047
0

Here (sevenforums) is a posting with three ways to accomplish this.
I am using the third solution because I do not want the active window to be automatically raised, but this is a matter of personal preference.
The second method highlighted there uses a third-party application, which is the most easy to use.

coz
  • 215
0

This entry (http://sinewalker.wordpress.com/2010/03/10/ms-windows-focus-follows-mouse-registry-hacks/) in sinewalker's lab book looks to be essentially the same as solution number three on sevenforums, as noted above, but includes some extra discussion on specific values for HKEY_CURRENT_USER\Control Panel\Desktop\UserPreferencesMask