Quick access toolbar in inspector window

  • Thread starter Thread starter Saeed
  • Start date Start date
S

Saeed

I have added few buttons in outlook inspector. I am using VSTO 2005 and have
used ribbon xml to add these buttons. These buttons can be added to quick
access toolbar using
Customize quick access toolbar > more commands.

Can I add these buttons programmatically to quick access toolbar, so that
these are already enabled when outlook is started?
 
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>
 
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.
 
Back
Top