CommandBarButton Picture, transparency

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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?
 
Back
Top