xmouse on xp

  • Thread starter Thread starter Roy Gordon
  • Start date Start date
R

Roy Gordon

Is there a version of Xmouse that runs on XP? Or, is there someway of
configuring XP so that moving the mouse into a window automatically gives
focus to that window and does NOT raise it to the top.

Right now in order to get mouse focus on a window I must click that window
which also brings it to the top.

I don't want this behavior. Rather, I want auto focus on a window simply by
moving the mouse into that window. I don't want it automatically brought to
the top.

This is the behavior you can get in X, and the old win95 utility Xmouse
(use at risk!) provides it. But I can't seem to get it to work in win xp. I
tried.

When doing program development and I have many files open I find the
default behavior quite annoying.

TIA.

Roy
 
This tip specifies whether to use a X-Mouse style interface. An X-Mouse interface (in part) means that windows the mouse is over are active. This has been added to Explorer Options on the Explorer page.

The user preference mask is a hexadecimal representation of bit values. To set use Windows Calculator and the values from the table below.

To use Windows Calculator take the value from UserPreferences and AND it with the value from the table below.

a.. Put the value from the table below into Calculator in Hex mode
b.. Press AND
c.. Take the value from from user preferences (in this sample 000000fd as it's byte order reversed).
d.. If it is set it will return the same value as the table below, if it's not set it will return 0
Action Value in Hex
Turn on x-mouse 1
If on bring window to top 40

REGEDIT4
[HKEY_CURRENT_USER\Control Panel\Desktop]
"UserPreferencemask"=hex:fd,00,00,00
;Sets the amount of time the mouse has to be over a window to activate it.
;In milliseconds in byte order reversed (00000bb8 = 3000 ms or 3 seconds).
;Default is 0 seconds and the key does not appear by default.
"ActiveWndTrkTimeout"=hex:b8,0b,00,00
This reg file contains the general mouse settings.

REGEDIT4
[HKEY_CURRENT_USER\Control Panel\Mouse]
;The time in milliseconds for two click to be considered a double click
"DoubleClickSpeed"="500"
;If mouse speed is 0 then no aceleration
;If mouse speed is 1 then when the mouse has moved the number of pixels in MouseThreshold1
;during one interupt the speed is doubled
;If mouse speed is 2 then when the mouse has moved the number of pixels in MouseThreshold1
;during one interupt the speed is doubled and when it has moved the number of pixels in MouseThreshold2
;during one interupt the speed is quadrupled
"MouseSpeed"="1"
"MouseThreshold1"="4"
"MouseThreshold2"="0"
;Swaps the left / right buttons
"SwapMouseButtons"="0"
[HKEY_CURRENT_USER\Control Panel\Desktop]
;The lines to scroll the page per click when rotating the wheel. minus numbers is pages
"WheelScrollLines"="-1"
;The number of pixels that the mouse can move to be considered a double click or drag
"DoubleClickHeight"="2"
"DoubleClickWidth"="2"
"DragHeight"="2"
"DragWidth"="2"
[HKEY_LOCAL_MACHINE\Config\0001\Display\Settings]
;0 is no trails, 7 is maximun trails
"MouseTrails"="7"
 
Roy said:
s there a version of Xmouse that runs on XP? Or, is there someway of
configuring XP so that moving the mouse into a window automatically gives
focus to that window and does NOT raise it to the top.

Use TweakUI - one of the XP Powertoys from (if you have installed XP
SP1)
http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp

If you have not installed SP1, the earlier version can be found at
http://download.microsoft.com/download/whistler/Install/2/WXP/EN-US/TweakUiPowertoySetup.exe

Once installed you will find it in Start - All Programs - Powertoys for
Windows XP

Its Mouse - XMouse page has the controls both on focus and on autoraise
separately
 
Back
Top