2
Mikefield
Hello,
Currently it is possible for em_xyz commands, but not in the way that we have in mind. Parameter "
button=" for an extended command is ignored in main menu. Here a way for do it:
You can map icons for extended commands in the file WCMICONS.INC. The format is as follow:
Code: Select all
# Command -> Icon index for icons inside WCMICONS.DLL
I recommend to use
WCICONEX.DLL and
WCICONEX.INC instead WCMICONS.DLL & WCMICONS.INC. So you can avoid that files will be overwritten in a future update of TC or re-installation.
You must add your custom icons to WCICONEX.DLL (Any good icon editor is valid, although I know that
Clo could recommend a very good icon editor

)
"Extended commands" in main menu takes the ID starting by the number
10000. Well, then the first extended command which appears in menu, have the ID 10000, the second em_xyz in main menu have the ID 10001, etc.
The content of your WCICONEX.INC should looks like:
Code: Select all
[mappings]
69=26
...
...
10000=#icon index in WCICONEX.DLL for the first extended command in main menu
10001=#icon index in...
HTH