Help!

Quick access toolbar in inspector window

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins RSS
Next:  Persist toolbar visible state  
Author Message
Saeed
External


Since: Aug 12, 2009
Posts: 6



PostPosted: Wed Aug 26, 2009 4:12 am    Post subject: Quick access toolbar in inspector window
Archived from groups: microsoft>public>outlook>program_addins (more info?)

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?
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3355



PostPosted: Wed Aug 26, 2009 9:36 am    Post subject: Re: Quick access toolbar in inspector window [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

See http://msdn.microsoft.com/en-us/library/dd940502(VS.85).aspx

--
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" <Saeed.RemoveThis@discussions.microsoft.com> wrote in message
news:B734A7CF-9415-44AB-B815-BE86598ED941@microsoft.com...
>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?
Back to top
Saeed
External


Since: Aug 12, 2009
Posts: 6



PostPosted: Wed Aug 26, 2009 2:30 pm    Post subject: Re: Quick access toolbar in inspector window [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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>



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

> See http://msdn.microsoft.com/en-us/library/dd940502(VS.85).aspx
>
> --
> 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" <Saeed RemoveThis @discussions.microsoft.com> wrote in message
> news:B734A7CF-9415-44AB-B815-BE86598ED941@microsoft.com...
> >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?
>
>
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3355



PostPosted: Thu Aug 27, 2009 9:15 am    Post subject: Re: Quick access toolbar in inspector window [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" <Saeed.RemoveThis@discussions.microsoft.com> wrote in message
news:3EE92C31-0BAB-4FFA-9CC0-DFC563B79062@microsoft.com...
> 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>
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum