Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Ribbons and XML-Description (http://www.outlookbanter.com/add-ins-outlook/99238-ribbons-xml-description.html)

ChristianH January 20th 10 12:53 PM

Ribbons and XML-Description
 
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

Ken Slovak - [MVP - Outlook] January 20th 10 04:21 PM

Ribbons and XML-Description
 
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



ChristianH January 21st 10 09:32 AM

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


.


Ken Slovak - [MVP - Outlook] January 22nd 10 02:05 PM

Ribbons and XML-Description
 
For the tabs you need to use the schema download (those Excel files). They
are complete.

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



ChristianH January 28th 10 10:55 AM

Ribbons and XML-Description
 
Hi Ken,

thanks for help.
Christian

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

For the tabs you need to use the schema download (those Excel files). They
are complete.

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


.



All times are GMT +1. The time now is 12:29 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com