I have a problem, though. On my system, TCMenu only displays icons that are extracted directly from programs but not from icon libraries.
E.g. in the button bar I call "regshot.exe" with an icon from
%commander_path%\Wcmicons.icl. When I use this bar with TCMenu, no icon is displayed at all. But when I specify the icon file in the button bar as "regshot.exe", everything is okay.
Why does this happen?
What is Wcmicons.icl? I have WCMICONS.DLL and WCICONEX.DLL only. With both of them everything works fine. From where I can get thi ICL? What icon size in TCMenu you use?
Well, *.icl files are standard 16-bit (I guess) icon libraries. You can get several TC plugins for viewing (ICLView.wlx) or organising (ICLRead.wcx) icl files. And TC itself can - of course - work with icl files instead of it's own WCMICONS.DLL file. My wcmicons.icl file contains only the icons I really need. It was created with the above plugins and contains mainly icons of external programs that I start from within TC.
Your question explains to me why these icons do not work with TCMenu. If you don't know icl files then TCMenu will not know them either, or will it?
If you don't know icl files then TCMenu will not know them either
No. TCMenu should work with any valid icon container (exe,dll,icl etc) I've tested it with .icl files created by
ICLRead.wcx 1.3.
Check again, please. May be there was issue with absent or too old .br2 file at and now it updated by TC (after your attempting to make modifications in .bar file)?
Also try other .icl files. May be there some problem with this specific icl.
You can easily do this by adding/changing a section in the tcmenu.ini file like:
It isn't very elegant (requires editing in two places- first in .bar file and then in tcmenu.ini) , but it is better then nothing. Ok. I'll add it.
Added. Not. It is VERY unconvenient! User have to count manually item number in thr .bar file including separators! I wanted even allow to write
DefaultCmd=<tooltim content> but tooltip is not unique.
So it is still a problematic.
First my program versions: TC 6.56 (so there are no br2 files), TC Menu 2 (latest beta).
I have done now several tests.
1) Using 2 other icl files. Result: NONE worked.
2) Using WCMICONS.DLL instead of the icls. Result: works ok. (!)
3) Switching to TCMenu version 1. No problem with ANY of the icon libraries (!)
If you want to examine the problem, I can send you my bar file together with the icl file per email.