Page 1 of 1

Why not use CHeaderCtrl instead of old-fashioned HeaderCtrl

Posted: 2007-04-26, 14:46 UTC
by CoolWater
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...

Posted: 2007-04-27, 09:28 UTC
by ghisler(Author)
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

Posted: 2007-04-27, 09:43 UTC
by Lefteous
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.

Posted: 2007-04-27, 09:56 UTC
by CoolWater
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.
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...

Regards,
CoolWater

Posted: 2007-04-30, 17:59 UTC
by Alextp
2CoolWater
Very nice suggestion: old Header control looks really ugly... And that arrow that displays the sorting...

Posted: 2007-04-30, 19:50 UTC
by petermad
old Header control looks really ugly
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.

Posted: 2007-04-30, 19:54 UTC
by Alextp
Do you know any programs, besides TC, with such a Header control?
And CoolWater suggests standard one.

Posted: 2007-04-30, 20:06 UTC
by m^2
Standard doesn't always mean "better". Personally, I also like the current one more.

Posted: 2007-04-30, 20:09 UTC
by Alextp
How about a poll?

Posted: 2007-04-30, 20:15 UTC
by CoolWater
petermad wrote:the one in that picture looks too much like a Folder Tab.
Well, this is because the mouse was over the first column and highlighted it... Take a look at this...

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...

Posted: 2007-04-30, 21:12 UTC
by Alextp

Posted: 2007-04-30, 21:13 UTC
by petermad
this is because the mouse was over the first column and highlighted it
I realize that - still, it's not my cup of tea (don't like white controls). :shock:

Posted: 2007-04-30, 21:17 UTC
by CoolWater
petermad wrote:
this is because the mouse was over the first column and highlighted it
I realize that - still, it's not my cup of tea (don't like white controls). :shock:
Fortunately, there thousands of themes out there... ;)

Posted: 2007-04-30, 22:10 UTC
by m^2
CoolWater wrote:
petermad wrote:
this is because the mouse was over the first column and highlighted it
I realize that - still, it's not my cup of tea (don't like white controls). :shock:
Fortunately, there thousands of themes out there... ;)
Some people don't want to bother with looking for them.
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.

Posted: 2007-05-02, 09:35 UTC
by CoolWater
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