The id numbers are universal, even if the names aren't.
I usually get the command id's using a MAPI viewer tool called OutlookSpy
(
www.dimastr.com). It lets you view the CommandBars collections for
Inspectors and Explorers and from there you can see the id's.
For ribbon controls I want to repurpose I use the idMso for the ribbon
control I want, gotten from the ribbon schema downloads and set up the
callback for that control using the ribbon XML.
For context menus I use the Outlook 2007 additions to the object model for
handling the various context menus.
I'm not sure which controls you are referring to in your post.
--
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 ...
Thanks for the hint.. I managed to override the standard call split button
so
far and am currently working on the right click menus.
One thing though.. is there a universal way to get the right control
regardless of the locale of Office? I'm on an English Office but most of
my
customers will be using German or French versions - so looking for &Call
(to
get the call split button) seems rather futile. Can I trust the Id of the
button (2621 for the call button)? And what about the poups? There each
control has the same ID (32768).. so how do you differentiate between the
different items in the popup menu?
Regards
Stephan