Sunday, December 6, 2009

Enable X-Mouse in Win 7

from:
http://www.jan-olof-lindqvist.se/windows7_and_vista/windows-7-and-vista-mouse-focus-on-window-without-raising-the-window/
and
http://www.sevenforums.com/general-discussion/9000-how-mouse-hover-makes-window-active.html


Start regedit and go to:
[HKEY_CURRENT_USER\Control Panel\Desktop]
For full X-Mouse, add +41h to the first number stored in binary key “UserPreferencesMask”.
If you only want “focus follows mouse,” add +1h.

For example, the value for my registry hex key was “9E 3E 07 80 12 00 00 00″
I edited it to “9F 3E 07 80 12 00 00 00″ to get “focus follows mouse”
If I had wanted full X-Mouse, I’d have edited it to “D9 3E 07 80 12 00 00 00″

You can use the built in windows calculator if you like. In my case I would use 9E + 1 = 9F. Picture shows windows 7 calculator with programmer mode.

More from Hunter:

The "UserPreferencesMask" key value changes based on what 'Visual Effects' settings are selected in 'Performance Options' (System Properties>Advanced>Performance>Settings)

"ActiveWndTrkTimeout" controls the delay between cursor-hover-over and window activation, though it seems the default Win 7 key is "ActiveWndTrackTimeout" (Track instead of Trk) and thus changing this key's value has no effect. Rename the key to "ActiveWndTrkTimeout" to make it stick.


No comments:

Post a Comment