Customize button image for separate Outlook forms region

  • Thread starter Thread starter Tadwick
  • Start date Start date
T

Tadwick

I have created an Outlook forms region using VS 2008. The form region is
based on Windows Forms not Outlook Forms. I want to change the button on the
ribbon to a custom image. An MSDN article
(http://msdn.microsoft.com/en-us/library/bb386176.aspx#UsingOptimal)
suggested that the Page Icon needs to be a .png file. However, I found that
when I specify an image file for the button in the properties of the forms
region file, the resulting button image has a bright blue background and I'm
not sure how to control the mask so that it is transparent.

Should the page icon have a transparent background?

Thanks, Tad
 
With a PNG for a ribbon control the transparency is set in the alpha layer
of the PNG image. You have to design your PNG correctly and then it will
work.
 
Thanks, Ken - I thought my PNG did have alpha transparency but I will look at
it again.
 
Back
Top