Page 3 of 3
Re:
Posted: 2020-04-12, 13:02 UTC
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.
Re: Hiding the menu bar
Posted: 2020-04-12, 16:34 UTC
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.
Re: Hiding the menu bar
Posted: 2020-04-12, 20:13 UTC
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.
Re: Hiding the menu bar
Posted: 2020-04-13, 11:19 UTC
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.
Re: Hiding the menu bar
Posted: 2020-04-13, 13:57 UTC
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.
Re: Hiding the menu bar
Posted: 2020-04-13, 18:28 UTC
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".
Re: Hiding the menu bar
Posted: 2020-04-13, 19:16 UTC
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.