Page 1 of 1

Mouse wheel scrolling in mouse-over panel

Posted: 2014-03-04, 09:33 UTC
by VolkerWippel
Hi
Several programs (Firefox,...) do it already: Scrolling with the mouse-wheel in a not active window which has the mouse over it. So I keep the view of the selected files in the left panel, and can quickly take a look at the files in the righth panel without changing the active panel (running the risk of loosing my selection if missing the right key).

Posted: 2014-03-04, 10:26 UTC
by ghisler(Author)
Scrolling of standard listboxes is not handled by Total Commander itself, but by Windows. It seems to depend on the mouse driver whether it sends the scroll messages to the window under the cursor, or the active window.

Posted: 2014-03-04, 10:41 UTC
by VolkerWippel
OK. But it must work somehow, since in Firefox I can scroll my bookmarks and the pages depending over which panel the mouse is positioned (not clicked). On the same computer this does not work in TotCmd.

Posted: 2014-03-04, 10:51 UTC
by MVV
VolkerWippel,
There are a lot of tools that allow scrolling windows under cursor instead of active ones, try KatMouse or AlwaysMouseWheel.

Posted: 2014-03-05, 13:30 UTC
by VolkerWippel
Thank you for the links.

Still, with my mouse driver and without additional tools some programs show this convenient behaviour (the latest FreeCommander does as well). So it would be nice if TotCmd would too.

But even without: TotCmd is a great tool I install first after computer setup, and I start immediately after logging in every single time!

Posted: 2014-03-05, 17:08 UTC
by sky66
After test:

Totalcmd 8.01~8.51b2 64bit can scrolling with the mouse-wheel in a not active window.

But Totalcmd 8.01~8.52b 32bit not works.

Posted: 2014-03-06, 15:14 UTC
by ghisler(Author)
Which tool did you use? Maybe it's a 64-bit tool which doesn't work with 32-bit programs?

Posted: 2014-03-06, 15:30 UTC
by HolgerK
sky66 wrote:After test:

Totalcmd 8.01~8.51b2 64bit can scrolling with the mouse-wheel in a not active window.

But Totalcmd 8.01~8.52b 32bit not works.
I can confirm this.

Windows 7 x64, Logitech Setpoint Dirver Version 5.33.14.

And the wheel works in other 32bit applications like Devenv.exe (Microsoft Visual Studio 2013) independent from the focused control (wheel events are send to the window under the mouse cursor).
Only the 32 Bit Delphi TC seems to capture the mouse wheel event inside the focused window.
If i move the mouse from the focused TC panel outside the application window, the focused file panel still reacts on wheel events.

Regards
Holger

Posted: 2014-03-06, 16:37 UTC
by sky66
Same as HolgerK...
Windows 7 x64, Logitech Setpoint Dirver Version 5.33.14

Posted: 2014-03-06, 17:29 UTC
by MVV
Interesting, it seems that Lazarus really scrolls panel under mouse cursor even if it is inactive. But it works only if TC has focus (and it is logical because only in such case it receives mouse messages w/o hook).