View Single Post
  #3  
Old January 21st 10, 09:32 AM posted to microsoft.public.outlook.program_addins
ChristianH
external usenet poster
 
Posts: 12
Default Ribbons and XML-Description

Hi Ken,

thanks for your help!

I create my XML-Ribbon-Description on the fly. The content is always the
same excepting the value for idMso.

Changing to the customize mode helps to get the idMso values for the
controls. Well, can I get the value for tabs in the customize mode, too?
I only found the idMso values for the controls.

Christian


"Ken Slovak - [MVP - Outlook]" wrote:

Are you looking for this at runtime, or are you coding your XML tags?

The lists you can download from the Office Developer Web site are complete
and that's what I use most of the time. Another way to get the idMso for a
ribbon control is to go into customize mode (Customize QAT) and hover the
mouse over a command to see the idMso.

--
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


"ChristianH" wrote in message
...
Hi,

I have a VB6 COM AddIn for Outlook 2007 that implements the
IRibbonExtensibility interface.
In the XML-RibbonDescription I get the value for idMso by checking
objectClass from the activeInspector. For example if the activeInspectors
objectClass is olTask I assign the value "TabTask" to the idMso element.
ribbon
tabstab idMso="TabTask" ....

Is it the correct approach to use the activeInspectors objectClass to get
the value for the idMso element?
Additionally I have the problem, that I do not find a list with all the
possible values for the element idMso.
From the following link I can download some excel-files. Well, I do not
find
a map between objectClass (or another item) and the value for idMso.

http://www.microsoft.com/downloads/d...displaylang=en

Thanks
Christian


.

Ads