Page 1 of 1

Icons in menus

Posted: 2007-05-17, 09:28 UTC
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?

Re: Icons in menus

Posted: 2007-05-17, 11:03 UTC
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".

Posted: 2007-05-17, 11:34 UTC
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.

Posted: 2007-05-18, 08:55 UTC
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?

Posted: 2007-05-18, 09:04 UTC
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.

Posted: 2007-05-18, 09:18 UTC
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.

Else, else…

Posted: 2007-05-18, 16:54 UTC
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

Posted: 2007-05-21, 14:20 UTC
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.

Among the Team?

Posted: 2007-05-21, 15:53 UTC
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

Posted: 2007-05-22, 13:47 UTC
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 :)