Achieve transparency for icons in Outlook 2000 add-in.

V

Vinayakc

Hi all,

I have developed one COM add-in(VC++) for Outlook 2003. Now the
requirement is, I have to make incompatible with Outlook 2000 also. It
is working fine when I changed the imported .dlls for OL 2000. One
major problem I am facing is incompatibility of Outlook 2000 with
put_Picture() and put_Mask() APIs which I am using to paste icons on my
add-in buttons. When I tried pasteFace API I observed that transparency
of the bitmap on add-in button lost.
Can anyone please suggest me anyway through which I can achieve
transparency with PasteFace API or anything which provides transparency
in icons in case of Outlook 2000.

Regards,
Vinayakc
 
K

Ken Slovak - [MVP - Outlook]

There's a KB article about that, you have to create a mask out of the
original image, usually using one color as the mask color and making sure
it's not used in the icon and is at the top left corner of the icon at 0,0.
See http://support.microsoft.com/?kbid=260850
 

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