View Single Post
  #3  
Old July 5th 07, 03:28 PM posted to microsoft.public.outlook.program_addins
Christian Havel
external usenet poster
 
Posts: 43
Default Extend Default Ribbon

Hi Ken,

I try with the following Xml to add my group to the exisiting tab.

strDescription = "customUI
xmlns=""http://schemas.microsoft.com/office/2006/01/customui""
loadImage=""LoadImage""" & _
"ribbon" & _
"tabs" & _
"tab id=""TabReadMessage"" label=""MyMessage""" & _
"group id=""c4bBrand"" label=""" & g_product & """" & _
"button id=""IDS_WaehlenCombo"" label=""" &
GetCheckedResString(IDS_WaehlenCombo) & """ onAction=""cmdCommonRibbonBttn""
getImage=""GetImage"" /" & _
"button id=""IDS_Auflegen"" label=""" &
GetCheckedResString(IDS_Auflegen) & """ onAction=""cmdCommonRibbonBttn""
getImage=""GetImage"" /" & _
"button id=""IDS_Aktionen"" label=""" &
GetCheckedResString(IDS_Aktionen) & """ onAction=""cmdCommonRibbonBttn""
getImage=""GetImage""/" & _
"/group" & _
"/tab" & _
"/tabs" & _
"contextualTabs" & _
"tabSet idMso=""TabSetTableTools"" visible=""false""/tabSet" & _
"/contextualTabs" & _
"/ribbon" & _
"/customUI"

It creates a new group. Do you see my failure?

Thanks
Christian

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

Do you mean the "Message" tab? That's "TabNewMailMessage" for a new email
item and "TabReadMessage" for messages that are being read.

There's a download of all the XML tags for every type of Outlook ribbon and
for the ribbons for every other Office application at
http://www.microsoft.com/downloads/d...displaylang=en

You can add your own Group to a tab such as Message, you can't add your own
ribbon controls to existing Groups within a tab. You create your ribbon UI
controls within the Group you add to the tab.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Christian Havel" wrote in
message ...
Hi,

I need the ids to add buttons to the Ribbon on the tab "Messages" (in
german
"Nachrichten"). Can anybody give me a tip?

Thanks Christian



Ads