Hiding the menu bar

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
vort3
Junior Member
Junior Member
Posts: 20
Joined: 2020-04-11, 10:30 UTC
Location: Kazakhstan

Re:

Post by *vort3 »

jmwap wrote: 2010-12-01, 17:23 UTC A big +1 to include this functionality in TC natively.

Ideally it could work as Notepad++ does it, if you choose to hide menubar (in config), then either F10 or Alt make it visible, and as soon as you choose a item in any of the menus it becomes hidden again.

It would save some valuable space :).
It is possible to make user defined function to toggle visibility of menu bar without any third party tools, you'll need to create some functions, a file for empty menu bar, and a .bat script that will rename your current menu bar with empty one. You'll also need to set RestrictInterface=1 in your configuration file.

See details in my post in other topic: https://www.ghisler.ch/board/viewtopic.php?f=14&t=45063&p=383126#p383126 .
It requires some work too, but it works without relying on any other tools. Downside is that you can't show it by pressing Alt though, just a command/hotkey to toggle.

English is not my native language.
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Hiding the menu bar

Post by *petermad »

You'll also need to set RestrictInterface=1 in your configuration file
This is the part that is not doable without a third party tool.
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
vort3
Junior Member
Junior Member
Posts: 20
Joined: 2020-04-11, 10:30 UTC
Location: Kazakhstan

Re: Hiding the menu bar

Post by *vort3 »

petermad wrote: 2020-04-12, 16:34 UTC This is the part that is not doable without a third party tool.
What do you mean? It's as simple as adding RestrictInterface=1 to your wincmd.ini. Why would you need any third party tool for that? At least for me on TC 9.51 it works.

English is not my native language.
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Hiding the menu bar

Post by *petermad »

What do you mean? It's as simple as adding RestrictInterface=1 to your wincmd.ini.
Yes, but you cannot make changes to wincmd.ini without a third party tool, if you want to automate it with a batch file. You need something like AutoHotkey or a plugin - you cannot insert RestrictInterface=1 into wincmd.ini with a batch file or via a cm_command.
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
vort3
Junior Member
Junior Member
Posts: 20
Joined: 2020-04-11, 10:30 UTC
Location: Kazakhstan

Re: Hiding the menu bar

Post by *vort3 »

petermad wrote: 2020-04-13, 11:19 UTC Yes, but you cannot make changes to wincmd.ini without a third party tool, if you want to automate it with a batch file. You need something like AutoHotkey or a plugin - you cannot insert RestrictInterface=1 into wincmd.ini with a batch file or via a cm_command.
You don't need to automate RestrictInterface=1, you can just have it in your wincmd.ini permanently.

If you need Start menu, you can create your own menu in menu bar instead of using STARTMENU command.

English is not my native language.
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Hiding the menu bar

Post by *petermad »

If you need Start menu, you can create your own menu in menu bar instead of using STARTMENU command.
Sure - I know that (check my Extended Menus).

But the Start menu is a fast way to make menu items ad hoc, and you can assign hotkeys to the items in the Start menu without having to use "Options" -> "Misc." -> "Redefine hotkeys".
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
vort3
Junior Member
Junior Member
Posts: 20
Joined: 2020-04-11, 10:30 UTC
Location: Kazakhstan

Re: Hiding the menu bar

Post by *vort3 »

petermad wrote: 2020-04-13, 18:28 UTC you can assign hotkeys to the items in the Start menu without having to use "Options" -> "Misc." -> "Redefine hotkeys".
You can do that without Start menu as well, just assign hotkey to any command like em_LaunchFirefox which is just "C:\Program Files\Mozilla Firefox\firefox.exe".

I really don't see any point in Start menu being something special and being so forced on users that you need a special hidden setting in wincmd.ini to get rid of it.

English is not my native language.
Post Reply