Is there a way to hide the ArcMap Main Menu either by customizing ArcMap manually or programmatically? I’ve tried to use the customization dialog and disable the Main Menu which didn’t work.
Trying to do it programmatically in the IApplicationStatusEvents_Event.Initialized
didn’t work, too.
ESRI.ArcGIS.Framework.ICommandBars commandBars = ArcMap.Application.Document.CommandBars;
if (commandBars != null)
{
commandBars.HideAllToolbars();
}
Additionally I would like to be able to restore the Main Menu easyly if a support task makes it necessary.