View Single Post
  #4  
Old August 27th 09, 02:15 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Quick access toolbar in inspector window

You're going to have to research this yourself, I've never customized the
QAT using code so I have no sample code for that. As far as I know though
you cannot add your own custom ribbon stuff to the QAT, you can only add an
existing ribbon control. So if that's what you want to do I think you won't
be able to do it.

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


"Saeed" wrote in message
...
Hi Ken,
I am using VSTO 2005, and using C#. The xml I am using has custom buttons
like which are added using keywords like:
customUI ribbon tabs tab group togglebutton etc in xml file
I want one of the toggle buttons to be enabled by default in Quick Access
Toolbar of read message. I tried keyword qat but no luck. Please provide
me
something relevant to that.

Here is my xml code:
customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
onLoad="OnLoad"
ribbon startFromScratch="true"
tabs
tab idMso="TabReadMessage"
group id="MyGroup"
label="My Group"
toggleButton id="toggleButton1"
size="large"
getLabel="GetLabel"
screentip="My Button Screentip"
onAction="OnToggleButton1"
imageMso="HappyFace" /
/group
/tab
/tabs
/ribbon
ribbon startFromScratch="true"
qat
documentControls
toggleButton id="toggleButton1" /
/documentControls
/qat
/ribbon
/customUI


Ads