G
Guest
I'm coding a com addin for outlook, in C++. My addin will have a menu on the
toolbar (a Office::CommandBarPopup that will have buttons added into its
CommandBarControls).
I'd prefer to "hook up" an event sink in a central location, like a C++
wrapper class, rather than needing to inherit from IDispEventSimpleImpl for
every single menu item. Couldn't I then distinguish between the events by
looking at a tag or menu caption?
toolbar (a Office::CommandBarPopup that will have buttons added into its
CommandBarControls).
I'd prefer to "hook up" an event sink in a central location, like a C++
wrapper class, rather than needing to inherit from IDispEventSimpleImpl for
every single menu item. Couldn't I then distinguish between the events by
looking at a tag or menu caption?