Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Achieve transparency for icons in Outlook 2000 add-in.

Geek News

Achieve transparency for icons in Outlook 2000 add-in.
"Vinayakc" <vinayakchitre[ at ]gmail.com> 7/3/2006 2:45:14 PM

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

Re: Achieve transparency for icons in Outlook 2000 add-in.
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 7/5/2006 2:11:55 PM
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

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Vinayakc" <vinayakchitre[ at ]gmail.com> wrote in message
news:1151937914.429911.141650[ at ]75g2000cwc.googlegroups.com...
[Quoted Text]
>
> 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
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net