View Single Post
  #2  
Old September 26th 07, 02:19 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 3,406
Default CommandBarButton Picture, transparency

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?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Mike" wrote in message
...
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.


Ads
 

Online Dating - Carpedia Blog - Cell Phones - Credit Cards - Loans