Vista: Wrong tree expand/collaps icons
Moderators: Hacker, petermad, Stefan2, white
Vista: Wrong tree expand/collaps icons
TC shows wrong expand/collaps icons in seperate and normal tree views on Windows Vista.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Can you post a screenshot, please? I didn't notice any anomalies when I last was in Vista. I'm using the Theme API to draw the icons, and it worked well both on XP with various themes, and Vista.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Some more information:
- The problem only occurs using the new Aero visual style.
- The Vista Explorer slowly fades the node icons in/out when the moves the cursor over/away from the tree.
- There are some new functions in the Theme API introduced in Windows Vista.
- I guess Vista shows these icons (they look like the icons used in the Windows XP theme) for compatibility reasons.
Here are two screenshots:
http://www.lefteous.de/tc/beta7/bugshots/vista_tree_icon_explorer.png
http://www.lefteous.de/tc/beta7/bugshots/vista_tree_icon_tc.png
BTW: The trees almost show the same part of the disk
- The problem only occurs using the new Aero visual style.
- The Vista Explorer slowly fades the node icons in/out when the moves the cursor over/away from the tree.
- There are some new functions in the Theme API introduced in Windows Vista.
- I guess Vista shows these icons (they look like the icons used in the Windows XP theme) for compatibility reasons.
Here are two screenshots:
http://www.lefteous.de/tc/beta7/bugshots/vista_tree_icon_explorer.png
http://www.lefteous.de/tc/beta7/bugshots/vista_tree_icon_tc.png
BTW: The trees almost show the same part of the disk

- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Total Commander just asks for the "Treeview" theme and then draws the TVP_GLYPH part either with option GLPS_OPENED or GLPS_CLOSED.
It seems that Vista Explorer does not use the standard tree view, otherwise it would draw the same images as TC does.
It seems that Vista Explorer does not use the standard tree view, otherwise it would draw the same images as TC does.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Well, if Microsoft have decided to draw some custom image instead of using the theme api, then I cannot do anything to show the same...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Of course not, I'm just telling you that I'm using the normal theme APIs. If the Explorer doesn't, then it's not my problem.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com