Re: IRibbonControl C++

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Ken,

Cheers, this is what I am currently working on. Unfortunately the
documentation I have found isn't the greatest as it all seems to refer to
..NET. I'll get there in the end!

Nick.

"Ken Slovak - [MVP - Outlook]" <kenslovak@xxxxxxxx> wrote in message
news:%23y8r7$J8HHA.2208@xxxxxxxxxxxxxxxxxxxxxxx
You can't change what's displayed in the Ribbon in the Add-Ins tab, it
depends on where the buttons were created. Use the Ribbon if you are in an
Office 2007 application for maximum compatibility.

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


"NickP" <a@xxxxx> wrote in message
news:ujcUwFH8HHA.396@xxxxxxxxxxxxxxxxxxxxxxx
Hi there,

I have a shared office addin that adds a button to the commandbars in
several applications. The button *should* appear underneath "Save As..."
in the file menu. It appears fine in any version of Office < 2007, but
in 2007 the button appears in a separate Add-Ins ribbon.

Presumably I need to use IRibbonControl to be able to get my icon to
appear in the correct location? If not, I do not mind it appearing in
the Add-Ins Ribbon but will need to change a few things,

a) The name of the ribbon from "Menu Commands"
b) The style of the button so that it is a large button with icon
at the top, and caption below

Unfortunately I cannot seem to find any way of doing (a), and if I do
(b) by setting the style of the button to
::Office::msoButtonIconAndCaptionBelow, it has no effect.

Many thanks for your time and help.

Nick.




.


Quantcast