Visio Guy

Visio Discussions => Visio 2016 Issues => Topic started by: 2020Visio! on October 01, 2015, 02:08:27 PM

Title: Designing Custom ribbons with custom icons
Post by: 2020Visio! on October 01, 2015, 02:08:27 PM
I would like to make my own custom ribbon with custom icons.

I can only find old information about this:

http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2006/05/26/customuieditor.aspx

and

http://mauriceausum.com/tag/customui-editor/

Is this still valid and the best way to make a custom ribbon with custom icons for Visio 2016?

Thank you for your help!
Title: Re: Designing Custom ribbons with custom icons
Post by: JohnGoldsmith on October 02, 2015, 03:40:28 AM
Hi,

Where do you want your custom ribbon to appear and what will it do?

Normally the answer is a code based one.  If you're producing a VSTO Addin then there's a Ribbon item template or designer that will help you.

You can also add a custom tab and items using VBA see:
If you want to use existing Office controls then you can look up the respective control ids (idMso) here: https://www.microsoft.com/en-gb/download/details.aspx?id=36798  I don't think you're able to use custom images without code.

And for icons you can download and (slowly) browse the builtin icons Office 2010 Add-In: Icons Gallery (https://www.microsoft.com/en-gb/download/details.aspx?id=21103) (I'm not aware of a newer version)

Hope that helps.

Best regards

John