AnsweredAssumed Answered

How to create a sub menu in the ArcObjects?

Question asked by sanjayjadhav on Jul 16, 2014
Latest reply on Aug 26, 2014 by sanjayjadhav

Hello,

 

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.

 

Cheers,

S.

Attachments

Outcomes