Page 1 of 1

TC9 beta: default Windows icons

Posted: 2016-06-09, 05:35 UTC
by Samuel

Code: Select all

21.04.15 Added: Use default Windows icon for folders (loaded via SHGetFileInfo), except when using external icon dll (32/64)
Could this please be extended to the icons of packed (*.zip, etc.) files?

Code: Select all

...except when using external icon dll
As stated somewhere else I would recommend an option what icons to use. If I use an external icon dll. I would consider to keep the default windows icons.

Posted: 2016-06-09, 08:51 UTC
by ghisler(Author)
There are no standard ZIP icons (except if you have some third party packer installed).

Posted: 2016-06-09, 12:34 UTC
by Samuel
I disagree. This is what I get in TC (top) and Explorer (bottom) by default.
https://abload.de/img/archivecxjei.png

I have no external packer installed. I would really appreciate to use the default icons if available. (If not available you could still show the old internal icon.)

Posted: 2016-06-10, 19:30 UTC
by ghisler(Author)
Yes, but how can you get them if user installs e.g. RAR or Winzip? Then requesting .zip icon would return icon of competitor.

Posted: 2016-06-10, 21:10 UTC
by Samuel
It may be the icon of a "competitor". (IMO there is no competitor for TC) But that icon was chosen by the user and you respect this choice at every other icon.

I do not ask you to remove the ability to open packed files in TC itself. This is one of the key features of TC and I love it.

I will try to locate the source of the explorer pack-icon, though. I will report back on this.

Perhaps you could add an ini option?

Posted: 2016-06-10, 21:22 UTC
by Samuel
The Icon should be located here:
C:\Windows\system32\zipfldr.dll

or better:
%SystemRoot%\system32\zipfldr.dll

Using this icon or the currently used in explorer would both be fine for me.

Posted: 2016-06-15, 21:13 UTC
by Samuel

Code: Select all

13.06.16 Added: Use icon from zipfldr.dll for archives if available (32/64)
Thank you so much for adding this. - It works fine.

Posted: 2016-06-15, 21:36 UTC
by ghisler(Author)
Thanks for your feedback! Btw, since there is no open archive icon, I show the small green arrow while opening the archive. You can only see it when opening really large archives, though.