I'm using C#.net and ArcObjects 10.2.1.
I need to create a custom menu that will have my custom commands and some sub menus inside it, all this dynamically. I could create a menu using IMenuDef however stuck on creating a nested ( sub) menu to hold my custom commands. I have attached the screen shot one typical sub-menu for clarification.
I guess have to use IMenuItem or some interface like that but I'm not sure. I tried to follow the example at the URL : arcobjects - How to create dynamic sub-menu in ArcMap? - Geographic Information Systems Stack Exchange but could not really understand it.
So, any help will be appreciated on this issue.