D
Dimitar Margaritov
Hi
I need to add a new item in one of word's context menus (for example in "Text" CommandBar). My problem is that when I add a new menu item and attach my message handler (which exposes ICommandBarButtonEvents) to it I don't get called when the user chooses my menu item. Investigating the problem I noticed that when I add the menu item to a non pop-up menu ("Drawing" CommandBar for example") my handler gets notified when the user chooses it
Does anybody have an idea why that happens and how I could get my handler invoked
Thanks in advance
Dimitar
I need to add a new item in one of word's context menus (for example in "Text" CommandBar). My problem is that when I add a new menu item and attach my message handler (which exposes ICommandBarButtonEvents) to it I don't get called when the user chooses my menu item. Investigating the problem I noticed that when I add the menu item to a non pop-up menu ("Drawing" CommandBar for example") my handler gets notified when the user chooses it
Does anybody have an idea why that happens and how I could get my handler invoked
Thanks in advance
Dimitar