Get the buttons as CommandBarButton objects and in the click event handlers
do what you want. Then if you want to cancel the default operations set
CancelDefault to true.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Stephan Steiner" wrote in
message ...
Is there a way I can reroute events thrown when standard buttons are being
pushed in Outlook 2007? Specifically, I'd like to replace the entire call
functionality (like OCS does.. normally all calling functionality is bound
to
TAPI but when MOC is installed, everything goes to OCS. The PBX I work
with
offers different means than TAPI so I need to integrate this somehow. I
managed to almost entirely duplicate the call menus, but it would be much
nicer to just go ahead and do it the way it's done with Office
Communicator
without having to bother with commandbars, popup events and ribbons.
There are 3 buttons I need to hook into: The Dropdown button in the
Contacts
view, the right click menu on each contact, and the Communication Ribbon
when
editing a contact.