Why not use CHeaderCtrl instead of old-fashioned HeaderCtrl
Moderators: white, Hacker, petermad, Stefan2
Why not use CHeaderCtrl instead of old-fashioned HeaderCtrl
Hi,
is there any special reason why not to use the HeaderCtrl from Windows ListView instead of the self-made (old-fashioned IMHO) header control? I think this would make the layout more appropriate when using themes.
Something like this:
http://img260.imageshack.us/my.php?image=tcheaderctrlfaketv9.jpg
Regards,
CoolWater
PS: Didn't find this/similar topic using the search function...
is there any special reason why not to use the HeaderCtrl from Windows ListView instead of the self-made (old-fashioned IMHO) header control? I think this would make the layout more appropriate when using themes.
Something like this:
http://img260.imageshack.us/my.php?image=tcheaderctrlfaketv9.jpg
Regards,
CoolWater
PS: Didn't find this/similar topic using the search function...
- ghisler(Author)
- Site Admin
- Posts: 48107
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I'm not using a listview, I'm using a listbox. Why?
- Listview is much slower
- No way to show headers in brief view
- No sorting by multiple columns possible
- Listview is much slower
- No way to show headers in brief view
- No sorting by multiple columns possible
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
This is about using a Win32 header control not about using a Listview control. Microsoft uses a header control in a Listview but this control is a standalone control basically.
I would personally prefer a custom control which combines the advantages ot the currently used control with the modern look of a Win32 header control - as we discussed in the beta forum.
Anyway discussing new features/improvements is currently a waste of time. A new major version is about to be released.
This is about using a Win32 header control not about using a Listview control. Microsoft uses a header control in a Listview but this control is a standalone control basically.
I would personally prefer a custom control which combines the advantages ot the currently used control with the modern look of a Win32 header control - as we discussed in the beta forum.
Anyway discussing new features/improvements is currently a waste of time. A new major version is about to be released.
Jep, that's what I talking about. I don't mind not having this feature/improvement in the next release. This was a general thought/wish/impression/what ever. Although I think this wouldn't be much work to implement...Lefteous wrote:2ghisler(Author)
This is about using a Win32 header control not about using a Listview control. Microsoft uses a header control in a Listview but this control is a standalone control basically.
I would personally prefer a custom control which combines the advantages ot the currently used control with the modern look of a Win32 header control - as we discussed in the beta forum.
Anyway discussing new features/improvements is currently a waste of time. A new major version is about to be released.
Regards,
CoolWater
Well. different ppl different taste: I like the current control - and if a new control is going to look like the one in http://img260.imageshack.us/my.php?image=tcheaderctrlfaketv9.jpg I would rather use the current control - the one in that picture looks too much like a Folder Tab.old Header control looks really ugly
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Well, this is because the mouse was over the first column and highlighted it... Take a look at this...petermad wrote:the one in that picture looks too much like a Folder Tab.
http://img102.imageshack.us/img102/5197/tcheaderctrlfakehk5.jpg
For me, it's clear what is folder tab and what is listview header...
Regards,
CoolWater
EDIT: @Alextp: Support for poll. Or may be we should wait till tomorrow when ghisler visits the forum...
Last edited by Alextp on 2007-04-30, 21:20 UTC, edited 1 time in total.
I realize that - still, it's not my cup of tea (don't like white controls).this is because the mouse was over the first column and highlighted it
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Some people don't want to bother with looking for them.CoolWater wrote:Fortunately, there thousands of themes out there...petermad wrote:I realize that - still, it's not my cup of tea (don't like white controls).this is because the mouse was over the first column and highlighted it
Of course possibility of changing the defaults is usually good.
But this thing has 2 drawbacks.
- It's harder to notice that small triangle than a pushed section. Possibly it can be changed with another theme. But:
- It's not portable. When I connect it to another computer, I'll likely see this ugly white thing or something else - which look is rather unpredictable.
FYI: Screen with standard luna theme header control:
http://img266.imageshack.us/img266/3255/tcheaderctrlfakeyl4.jpg
This should make things more clear (I hope )
Regards,
CoolWater
http://img266.imageshack.us/img266/3255/tcheaderctrlfakeyl4.jpg
This should make things more clear (I hope )
Regards,
CoolWater