CommandBarButton Picture, transparency

M

Mike

I'm sorry, I'm confused about the Picture and Mask properties. I'm able to
get the button added w/pic, but it has the dark blue background instead of
being transparent. Do the Picture and Mask properties get set to the same
image? Or does one image need to be completely transparent? If so, how do i
make an .ico file fully transparent? Any help and/or links provided would be
greatly appreciated.
 
K

Ken Slovak - [MVP - Outlook]

First of all, don't use an ICO file. Use some bitmap image. Second, the mask
is the same image as the picture, just with the areas where you want
transparency in a color that is set to be the transparent layer.

Have you looked at the sample code for mask and picture at
http://support.microsoft.com/kb/286460?
 

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