2

I use Ribbon XML to create a custom Ribbon in Outlook 2010. In this ribbon I also created a button using Ribbon XML. This button uses built-in button control(idMso="NavBack").

My question: Is there a way to overwrite the image when using built-in button control in my case here?

Thanks.

This is my code:

<button idMso="NavBack" size="large" />
ahlun
  • 458
  • 1
  • 6
  • 17
  • If this is not possible, how do I call the built-in command in a custom button via the callback? – ahlun Oct 09 '12 at 09:00

1 Answers1

1

Changing image for built-in control is not possible. And for executing the built-in command of the "NavBack" built-in control I use

Globals.ThisAddin.Application.ActiveExplorer().CommandBars.ExecuteMso("NavBack")
ahlun
  • 458
  • 1
  • 6
  • 17