[TC9RC2] DefaultLib=WcIconEx

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
lisabon
Junior Member
Junior Member
Posts: 34
Joined: 2014-11-22, 12:57 UTC

[TC9RC2] DefaultLib=WcIconEx

Post by *lisabon »

I set in WinCmd.ini file:

Code: Select all

[Buttonbar]
DefaultLib=WcIconEx
Total Commander uses a file WcmIcons.inc. Is it possible to use Total Commander WcIconEx.inc?
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

If you want TC to use wciconex.dll and wciconex.inc you just have to select the standard wcmicons.dll as your default icon library AND make sure that the two files wciconex.dll and wciconex.inc are present in TC's program directory - then TC will automatically use wciconex.dll and wciconex.inc IN STEAD of wcmicons.dll and wcmicons.inc - just as in earlier versions of TC before TC9
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
lisabon
Junior Member
Junior Member
Posts: 34
Joined: 2014-11-22, 12:57 UTC

Post by *lisabon »

2petermad
That's all I know.

If I set in WinCmd.ini file:

Code: Select all

[Buttonbar]
DefaultLib=WcIconEx
vertical panel(VERTICAL.BAR) and DEFAULT.BAR automatically uses icons WcIconEx.dll. This is me and need to. But by using my settings used WcmIcons.inc  and that me do not need. Must be to use WcIconEx.inc.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2lisabon

Delete the line:
DefaultLib=WcIconEx

then TC will automatically use WcIconEx.dll AND WcIconEx.inc - you can test it by making changes to WcIconEx.inc
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
lisabon
Junior Member
Junior Member
Posts: 34
Joined: 2014-11-22, 12:57 UTC

Post by *lisabon »

petermad wrote: Delete the line:
DefaultLib=WcIconEx

then TC will automatically use WcIconEx.dll AND WcIconEx.inc
I do not need it.

I need:
- use the option DefaultLib=WcIconEx. With this option VERTICAL.BAR and DEFAULT.BAR uses icons from the file WcIconEx.dll
- when using the option DefaultLib=WcIconEx, automatically used file WcIconEx.inc with file WcIconEx.dll. Сurrently used file WcmIcons.inc instead of file WcIconEx.inc.
The files WcIconEx.dll and WcIconEx.inc have a higher priority than files WcmIcons.dll and WcmIcons.inc. But if I use the option DefaultLib=WcIconEx WcmIcons.inc have a higher priority than files WcIconEx.inc, that is not correct.
Last edited by lisabon on 2016-10-24, 08:05 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Must be to use WcIconEx.inc.
Doesn't that mean that you want to use WcIconEx.inc.? If that is the case then you have to do like I described it - it is the only way to make TC use WcIconEx.inc.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
lisabon
Junior Member
Junior Member
Posts: 34
Joined: 2014-11-22, 12:57 UTC

Post by *lisabon »

petermad wrote:it is the only way to make TC use WcIconEx.inc.
One can and should ask Ghisler that it was not the only way to solve my problem.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

wciconex is loaded with the old method, where TC detects it automatically when present. The new method is for varying icon libraries with the SAME set of icons, so switching between them will keep the icon motive, and only change the look. Different inc files would break that.
Author of Total Commander
https://www.ghisler.com
lisabon
Junior Member
Junior Member
Posts: 34
Joined: 2014-11-22, 12:57 UTC

Post by *lisabon »

2ghisler(Author)
Could you to add an option, for example, DefaultInc= ?

My files WcIconEx.dll and WcIconEx.inc compatible with files WcmIcons.dll and WcmIcons.inc and should not be problems with the look.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, that would break everything.
Author of Total Commander
https://www.ghisler.com
Post Reply