mike.robb

Modify (add) to MAIN Toolbar with Addinx files

Discussion created by mike.robb on Jun 24, 2011
Latest reply on Jan 22, 2012 by Knoche
Hi everyone,

Has anyone figured out a way to add a Menu to the MAIN (Root) menu toolbar using Addins?
So a menu in between File and EDIT or after HELP.

I know you can modify the Main Toolbar via ESRIRegAsm com object w/ deployed MSI installable.. but what about ADDINS?


I can Create a new Menu ... but then unable to do anything from there...(button wise) in an Extention Addin Setting:
            Dim TopMenuBar As ESRI.ArcGIS.Framework.ICommandBar
            TopMenuBar = GetToolbarByName(My.ArcMap.Application, "esriArcMapUI.MxMenuBar")


            TopMenuBar.CreateMenu("Menu TEST", 1)


The Main Toolbar {56599DD3-E464-11D1-9496-080009EEBECB}
esriArcMapUI.MxFileMenu


Thanks, in advance.

Outcomes