Customize button image for separate Outlook forms region

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
 
K

Ken Slovak - [MVP - Outlook]

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

Tadwick

Thanks, Ken - I thought my PNG did have alpha transparency but I will look at
it again.
 

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