Icons in menus

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
solid
Power Member
Power Member
Posts: 749
Joined: 2004-08-09, 11:20 UTC

Icons in menus

Post by *solid »

I know that currently is not possible to add additional icons in menus for user created commands.

But, we have library of icons to be used in the menu, both standard and expanded. And each entry knows which icon to show.

I was wondering where is this defined, and can it be customized?

If this is possible, than we can expand the current library with new icons, and set for the entry to use icon xx from the library. I know this is awkward, but can work as a woraround. Or is there any simpler workaround solution?
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Re: Icons in menus

Post by *m^2 »

solid wrote:I know that currently is not possible to add additional icons in menus for user created commands.

But, we have library of icons to be used in the menu, both standard and expanded. And each entry knows which icon to show.

I was wondering where is this defined, and can it be customized?

If this is possible, than we can expand the current library with new icons, and set for the entry to use icon xx from the library. I know this is awkward, but can work as a woraround. Or is there any simpler workaround solution?
It can be customized, but only with internal commands. There is no easy workaround. I'm working on it, but it's quite hard and very dirty solution.

ADDED: And it's likely that it will be released officialy before I have it. At least I hope it will happen "soon".
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2solid
I was wondering where is this defined, and can it be customized?
It can be customized in the file wcmicons.inc (or wciconex.inc)

Each line represents the number of an internal command and the number of the icon in wcmicons.dll (or wciconex.dll) that must be used for the command.

You can find the numbers of the commands in totalcmd.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
User avatar
solid
Power Member
Power Member
Posts: 749
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

Thanks a lot for the explanation.
Unfortunetely no support for icons for em commands.

One more thing, where is configured which library Tc uses, wcmicons.inc or wciconex.inc?
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2solid
One more thing, where is configured which library Tc uses, wcmicons.inc or wciconex.inc?
If wciconex.dll exists wciconex.inc is used otherwise wcmicons.inc.
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Unfortunetely no support for icons for em commands.
Right!

As a workaround you could in stead assign icons to the user commands (internal command no. 701 up til 899) - then you can assign external programs in the Start menu to these user commands.

The drawback of this approach is that the numbers of the usercommands is in risk of being moved around when you make changes to your Start menu - especially when you create or remove submenus in your Start menu - and then your icon assignments gets fu*ked up.
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
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Else, else…

Post by *Clo »

—> solid

:) Hello !

• Adding any icon, from any source, onto any entry of any menu, using any command
should be ANOTHER APPROACH I proposed already six months ago (for a next version, though)

• I know, that's preaching in the desert, but I hope still to convert some jerboas to this, who knows ? :D

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
solid
Power Member
Power Member
Posts: 749
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

Thanks to all for answers.

2Clo
Defenitely a unified system as Lefteous suggested long ago is a way to go, including choosing icons directly in the edit box, so tweaking ini files and dlls would be obsolete.
DOpus is a way way ahead of TC, regarding this issue. Hope TC will catch up.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Among the Team?

Post by *Clo »

2solid

:) Hello !
Definitely a unified system as Lefteous suggested long ago is a way to go…
• Certainly, just look at the icon in the title bar of my mock-up ;)

• That proposal is not brilliant, it's only the same way than the configuration of the button-bars…
- So, it should be coherent, while currently the feature is not flexible and too limited, that we call in French :
Neither done, nor to do”…

• Thanks for the feedback… So, may I count you among the Jerboas' Club members ? :lol:

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
solid
Power Member
Power Member
Posts: 749
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

• Certainly, just look at the icon in the title bar of my mock-up
:D
So, may I count you among the Jerboas' Club members ?
Don't know what kind of club is that, but i guess you can count me in :)
Post Reply