Selecting which Ribbon to display for a Custom Task Form

G

GraemeWT

I have a Visual Studio 2008 VSTO project for an Office Outlook AddIn.
I have created a Custom Form Region for a Customer Task object named
“IPM.Task.Wizardâ€.
I have a Ribbon that I want to be used when I display a customer task object
in my Custom Form.
Can someone explain how I can do this....
I have seen discussion on using the CreateRibbonExtensibilityObject viz:
protected override
Microsoft.Office.Core.IRibbonExtensibility
CreateRibbonExtensibilityObject() {}
And also on using the IRibbonExtensibility interface viz:
public partial class ThisAddIn : Office.IRibbonExtensibility
But I have not managed to discover exactly how to implement these patterns
in my project.
I think I need to do something in the New_Inspector event handler!!
 
K

Ken Slovak - [MVP - Outlook]

You need to create the ribbon XML for your custom ribbon and supply that to
the ribbon callback GetCustomUI() when it's called. See the articles on
ribbon customization at
http://msdn.microsoft.com/en-us/library/aa338202.aspx.

There are also VSTO 2005 SE templates for C# and VB.NET that show ribbon
customizations on my Web site at
http://www.slovaktech.com/outlook_2007_templates.htm, and various VSTO 2005
SE samples for download at the Office Developer Web site at MSDN. There are
also ribbon samples at www.outlookcode.com.
 

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