Hi All,
I want to customize main menu of visual studio 2010 in VSX. In this -
1> I want to show only "Standard" option from following submenus (View-Toolbars-> Standard)
When I debug the code using DTE.Events I found that the "Toolbars" submenus has only 2 childs i.e. Build and "Customize...".
How and when it adds other options (children like Debug, Text Editor etc) ? I tried to remove "Build" sub menu, then it has removed all the sub menus (confusing for me) except "Customize".
2> I want to keep only "Standard" option and removes all the options (but when I remove "Build" it removes "Standard" also).
I want to check which and what sub menus are present until OnStartUpComplete event of DTE executed by package. I register it in Initiliaze() of package. (Also provide autoload attiribute as [ProvideAutoLoad(UIContextGuids.NoSolution)]).
DTE dte = this.DTE;eventsObj = dte.Events.DTEEvents;
eventsObj.OnStartupComplete += new _dispDTEEvents_OnStartupCompleteEventHandler(eventsObj_OnStartupComplete);
Still OnStartUpComplete doesn't get executed.
Please help me. Thanks.