IRibbonControl C++

N

NickP

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

Ken Slovak - [MVP - Outlook]

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

NickP

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

Ken Slovak - [MVP - Outlook]

Unfortunately I can't help with C++ code, I only read it. I only speak C#
and VB.
 
N

NickP

Hi Ken,

No probs, it seems that I'm making some kind of progress now, even
though it might be in a sideways direction.

Nick.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top