AnsweredAssumed Answered

Adding menu and toolbar flyouts, with command manager FlyoutGroups

Question asked by Ron Bates on Nov 4, 2014
Latest reply on Nov 5, 2014 by Seth Ruhan

First I call AddCommandItem2 on ICommandGroup, where the last parameter is a bitwise flag to indicate if commands should ALSO be added to their equivalent toolbars and menus.


I set this to (int)(swCommandItemType_e.swMenuItem | swCommandItemType_e.swToolbarItem)


I also set my CommandGroup instance HasToolbar and HasMenu to be true.


So far, so good.  My command manager has my command and it also shows up in a menu and a toolbar.



Then I add a flyout in my command manager with CreateFlyoutGroup.  But these commands only appear in my command manager...and not in my menu and toolbar?? 


Is it possible to automatically have flyout groups be added to an add-ins menu and it is for AddCommandItem2?