View Single Post
  #2  
Old July 9th 07, 02:31 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Insert Ribbon buttons into QuickAccessToolbar problem

For one thing you have to use the correct name and tie it to an idMso, plus
you need the tabs and tab tags there just as if you were working with
any other ribbon:

ribbon
tabs
tab idMso="Quick Access Toolbar"

You also should be aware that any QAT modifications you make will only apply
to the QAT for that ribbon. If you customize the QAT for Outlook.Mail.Read
it won't apply to Outlook.Mail.Compose or any other ribbon. You'll need to
apply your QAT customizations to every ribbon where you want the
customizations to appear.

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

with the following code I try to insert buttons into the
QuickAccessToolbar,
which does not work.

Dim strDescription As String
strDescription = "customUI
xmlns=""http://schemas.microsoft.com/office/2006/01/customui""
loadImage=""LoadImage"""
strDescription = strDescription & _
"ribbon" & _
"quat" & _
"documentControls" & _
"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""/" & _
"/documentControls" & _
"/quat" & _
"/ribbon" & _
"/customUI"

Does anybody see my failure?
Christian


Ads