Can the TC panel hide the vertical scroll bar?

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
xxxdo1
Junior Member
Junior Member
Posts: 87
Joined: 2024-11-03, 02:45 UTC

Can the TC panel hide the vertical scroll bar?

Post by *xxxdo1 »

Can the TC panel hide the vertical scroll bar?
I looked through previous posts but didn't find a satisfying answer.
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

Re: Can the TC panel hide the vertical scroll bar?

Post by *Fla$her »

You can switch to the brief mode by pressing Ctrl+F1, it's not there. :D
But seriously, why do this?
Overquoting is evil! 👎
User avatar
xxxdo1
Junior Member
Junior Member
Posts: 87
Joined: 2024-11-03, 02:45 UTC

Re: Can the TC panel hide the vertical scroll bar?

Post by *xxxdo1 »

Hiding the scroll bar panel can show more content, and the scroll bar is a bit wide, not very beautiful
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

Re: Can the TC panel hide the vertical scroll bar?

Post by *Fla$her »

Its appearance and width depend on the current theme. In any case, there is no such setting and is unlikely to ever appear, since it's an important part of the interface for indicating the position in the list and quick manual scrolling when holding the slider.
Overquoting is evil! 👎
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: Can the TC panel hide the vertical scroll bar?

Post by *sa16 »

2xxxdo1
I found it convenient to use the scroll bar for Drag&Drop operations.
There is less risk of getting into a subfolder or archive.
User avatar
xxxdo1
Junior Member
Junior Member
Posts: 87
Joined: 2024-11-03, 02:45 UTC

Re: Can the TC panel hide the vertical scroll bar?

Post by *xxxdo1 »

2Fla$her
This is the scroll bar style I use in Chrome, modified by loading custom.css. The rounded and narrow scroll bar on the left is more beautiful.
Image: http://cdnjson.com/images/2025/01/25/_2025-01-25_030857.png


2sa16
I think there is no risk of accidental clicks when using the scroll wheel. To reduce the risk of accidental operation, you can use cm_GoToDir
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: Can the TC panel hide the vertical scroll bar?

Post by *sa16 »

2xxxdo1
I'm talking about using the scroll bar for other purposes - I throw files at it during Drag&Drop operations.
User avatar
beb
Power Member
Power Member
Posts: 579
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Can the TC panel hide the vertical scroll bar?

Post by *beb »

xxxdo1 wrote: 2025-01-24, 07:03 UTC Hiding the scroll bar panel can show more content, and the scroll bar is a bit wide, not very beautiful
You can make it approx. twice as narrow compared to the default width via the Windows registry.

WindowMetrics.reg

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"ScrollHeight"="-252"
"ScrollWidth"="-252"
"-252" is the default value.
The available range is from "-120" to "-1500".
A specific value within that range is a "desired size in pixels" multiplied by "-15".
So if you prefer the scrollbar width of 15 pixels exactly you can set it as "-225" there (-15*15=-225).
The minimal available value ("-120") is a bit more than twice as narrow compared to the default scroll bar width (252/120=2.1).
The default value ("-252") is translated to 252/15 = 16.8 pixels.
The minimal available value ("-120") is translated to 120/15 = 8 pixels.

Note:
1. As I tested it, reboot is required for the changes to take effect.
2. It affects all the related apps, not only Total Commander.

Edit: math error
Last edited by beb on 2025-01-29, 19:36 UTC, edited 2 times in total.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
User avatar
xxxdo1
Junior Member
Junior Member
Posts: 87
Joined: 2024-11-03, 02:45 UTC

Re: Can the TC panel hide the vertical scroll bar?

Post by *xxxdo1 »

2beb
Thank you, this method is effective and solved my obsessive-compulsive disorder
User avatar
beb
Power Member
Power Member
Posts: 579
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Can the TC panel hide the vertical scroll bar?

Post by *beb »

2xxxdo1
You are welcome.

Glad it helped.

By the way, as to my taste, "-120" is way too narrow, while "-180" (12 pixels) seems pretty "ideal".
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
NotNull
Senior Member
Senior Member
Posts: 298
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Can the TC panel hide the vertical scroll bar?

Post by *NotNull »

BTW: there is an issue with the scrollbar:
TC 11.51 RC3 x64 (and older versions)@Win11 24H2. Both with out of the box settings.

To reproduce:
- Open C:\Windows in a pane (to see the vertical scrollbar)
- Notice the width of the scrollbar
- Click on scrollbar
- Notice the width of the scrollbar
- Click anywhere else
- Notice the width of the scrollbar


The width of the scrollbar does not return to its original dimensions.
Right-clicking the scrollbar and selecting Scroll here from the context menu restores the original width.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Can the TC panel hide the vertical scroll bar?

Post by *ghisler(Author) »

I didn't notice anything happening, but I didn't set the value ScrollWidth in the registry. Do you only get this when setting ScrollWidth?
Author of Total Commander
https://www.ghisler.com
User avatar
xxxdo1
Junior Member
Junior Member
Posts: 87
Joined: 2024-11-03, 02:45 UTC

Re: Can the TC panel hide the vertical scroll bar?

Post by *xxxdo1 »

I set ScrollWidth and ScrollHeight, and the above situation did not occur. I used version Win10, TC 11.03
NotNull
Senior Member
Senior Member
Posts: 298
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Can the TC panel hide the vertical scroll bar?

Post by *NotNull »

See screenshot.
Both Windows and TC are out of the box.
To be more precise, these are all the initial Wincmd.ini settings:

Code: Select all

[Configuration]
UseIniInProgramDir=7
DarkMode=2
ShowHiddenSystem=1

Everything=C:\Program Files\Everything 1.5a\Everything64.exe
UseEverythingInstance=1.5a
UseEverything=1
EverythingForTree=0

UseNewDefFont=1
FirstTime=0
FirstTimeIconLib=0

Image: https://i.postimg.cc/3xCCbb7Q/TC-scrollbar.png
User avatar
beb
Power Member
Power Member
Posts: 579
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Can the TC panel hide the vertical scroll bar?

Post by *beb »

2NotNull
[Windows:] Start - Settings - Ease of Access - Display - [Display Section:] Simplify and personalize Windows
* Show animations in Windows [On|Off]
* Automatically hide scroll bars in Windows [On|Off]
Image: https://i.imgur.com/kUWQbmg.png
Does switching this [On|Off] affect your described behavior?
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 10/15
Post Reply