Interpret buttonbar as menu

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6491
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

VadiMGP wrote:2Flint
VadiMGP, I hope you don't mind...
Nope. In opposite, thanx!:)

2Horst.Epp
Please specify exactly in which field %COMMANDER_PATH% was not resolved.
In the cmd field
Update, I found the reason, the resolved name in my case contains spaces
So I have to make "" "" around to get it working
User avatar
SQUIRE
Senior Member
Senior Member
Posts: 373
Joined: 2005-06-16, 18:07 UTC

Post by *SQUIRE »

I have downloaded 10,000 copies of this zip file.
Bam, bam, bam! Just like that.
No problem at all.
I now have 10,000 button bars.
Anyone who needs one please PM me.
:evil:
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2Flint
Small bug in displaying the menu. Seel the screenshots:
It happens with FlatMenu=1 and themed XP, right? Unfortunately I didn't find workaround for this. :( Any idea would be appreciated.

DISCLAIMER: :wink: Actually flat menu was intended for users of Windows 2000 or Windows XP without theme because if you have some theme installed most probably you already got what you like. Isn't?
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

VadiMGP wrote:It happens with FlatMenu=1 and themed XP, right?
Yes, but with FlatMenu=0 the situation is the same.
VadiMGP wrote:Any idea would be appreciated.
I think, it's enough just to make the menu a bit higher, so that the selection of the first item did not overlap with the top part of the white border.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2Flint
I think, it's enough just to make the menu a bit higher...
Hmm, but how? I don't see any possibility to do this. Windows asks from me sizes of every single menu item only and after this calculates menu size itself, according to current system settings, theme, etc...
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2Flint
Could you check TCMenu20b2, please?
http://www.mgpsoft.net/Downloads/TCMenu20b2.zip
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

VadiMGP wrote:Could you check TCMenu20b2, please?
Works fine! Thank you. :)
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2VadiMGP
Well there is still a little problem with FlatMenu=1 and Windows XP theme. I see a transparent edge around the menu just inside the menu edge. See: http://madsenworld.dk/tcmd/tcmenu.png

Another thing: FlatMenu= does not seem to have any effect when used in the [Common] section when using a theme - even if there is no FlatMenu= line in the theme.

When there is no FlatMenu= stated in a theme I expect the FlatMenu setting from the [Common] section to take precedence.

Also if I have a setup like this:
[Common]
IconSize=16
Theme=Sunless
UseTCCache=1
RunHidden=1
FlatMenu=1

[default.bar]
Theme=Winter

[players.bar]
Theme=PM

[PM]
Select1stColor=#000080
Select2ndColor=#000080
SelectTextColor=#ffffff
SelectStyle=4
FlatMenu=0
...
And my current bar file is players.bar - then I expect theme pm to be used - not theme Sunless. I have to set it like this to make it work:
[Common]
IconSize=16
Theme=
UseTCCache=1
....
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2petermad
Well there is still a little problem with FlatMenu=1 and Windows XP theme.
Damn! I knew it! I'm really sorry, but I didn't expected using flat menu with XP themes. Obviosly I have to disable flat menu on such systems.:(
FlatMenu= does not seem to have any effect when used in the [Common] section when using a theme
Correct. If "Theme" key is present in the section all theme settings are taken from specified theme.
then I expect theme pm to be used - not theme Sunless
This is very strange. It should work indeed. Could you send me your button definition for running TCMenu.exe and TCMenu.ini file to support(at)mgpsoft(dot)com?
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Could you send me your button definition for running TCMenu.exe and TCMenu.ini file to support(at)mgpsoft(dot)com?
So done :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1013
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Great work on version 2!

One optical issue though:
An empty separator entry with just /BREAK shouldn't display a separator line as first item in the second column.

Code: Select all

Entry1    ------
Entry2    Entry4
/BREAK
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2ZoSTeR
An empty separator entry with just /BREAK shouldn't display a separator line as first item in the second column.
Yes, I know, it is not very nice (as well as last empty separator on previous column), but it not easy to implement. Anyway I'm planning to elimitate this effect in later release.
Currently two workarounds are possible:
1. Give some name to new column or
2. Just drop this separator and put tag in the following non-empty item.
User avatar
Clas Hortien
Member
Member
Posts: 198
Joined: 2003-03-03, 15:03 UTC

Post by *Clas Hortien »

Hi,

first of all i want to say "Thanks you very much for TCMenu", i use it every day and it is a great tool.
But (you know, there is always a .. but), i'd like to ask for only one further addition. Can you implement a
default item from the toolbar when clicking on the Menu button ?

Example: I have a submenu with all MS Office Applications like Word, Excel, PowerPoint, Access etc.. Most of the time i need Word,
but from time to time in need the others as well. Now it would be great if i can click on the menu button with Ctrl-left click (or ALT or
SHIFT) and the defined default application (Word) will start. So the button behaves like an ordinary TC button and i don't need to
open the menu. If you can implement it, this would be really great. :lol:

Many thanks

Clas
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1013
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Another feature request :)

How about a tooltip for the tooltip?

For example: Button1=Paint /DESC A simple drawing program

would show a "Paint" menu entry with a tooltip description saying "A simple drawing program".
Minchen
Junior Member
Junior Member
Posts: 36
Joined: 2006-04-11, 09:01 UTC

Post by *Minchen »

For me the Commander_Path doesn't work in the param-field.
My Commander_Path looks like "w:\progs\total commander\..."
Post Reply