Lock "filename" column while scrolling horizon

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mantis4d
Junior Member
Junior Member
Posts: 9
Joined: 2014-05-14, 01:45 UTC

Lock "filename" column while scrolling horizon

Post by *mantis4d »

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Nice idea - but I don't think that it's possible with the used listbox control: When you scroll sideways, the control itself moves the visible text to the left, and requests drawing only for the part on the right which is new.

I could try to write my own Listbox control, but then it wouldn't work any more for blind/viewing impaired people...
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

ghisler(Author) wrote:Nice idea - but I don't think that it's possible with the used listbox control: When you scroll sideways, the control itself moves the visible text to the left, and requests drawing only for the part on the right which is new.

I could try to write my own Listbox control, but then it wouldn't work any more for blind/viewing impaired people...
So you can make it an very useful option
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Indeed a nice idea - though not new...

Why not use two listbox controls? So the left listbox would contain the fixed column(s) and the right one the scrollable part. A technical challenge could be the vertical scrollbars. For the left listbox the scrollbar would have to be hidden. The right listbox would have to scroll the left listbox as well when scrolled. Maybe this is trivial - I have not tested it.

Something like this:
http://lefteous.totalcmd.net/tc/ideas/fixed_columns_v1/start_c_1.html

It would also be possible to use a dedicated scrollbar control that is not part of the listboxes. This way it could be displayed in full width.
http://lefteous.totalcmd.net/tc/ideas/fixed_columns_v2/start_c_1.html
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Support+++ as an option
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply