Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

256 color bitmap buttons in Outlook

3 views
Skip to first unread message

Diego

unread,
Jun 3, 2004, 3:31:48 AM6/3/04
to
Hi all,

I am working on an Outlook add-in which adds a couple of buttons to the
toolbar. These buttons have a 16 color bitmap displayed. The purple color
in the bitmaps is the transparent color when Outlook runs.

I want to change the button bitmaps to be 256 color. When I do this I
cannot get transparency to work like it does with the 16 colot bitmaps.
The purple shows up. Is there anyway I can get a color to be transparent?

Below is the code used to add the button to the toolbar. I am using
Outlook XP, but have the same thing happen with Outlook 2003.

Any help would be greatly appreciated.

Regards,
Diego

---------------

TBADDBITMAP tbab;
tbab.hInst = AfxGetInstanceHandle();
tbab.nID = uiBitmapID;
*puiToolBarM = SendMessage(hwndToolbar,
TB_ADDBITMAP, 1, (LPARAM)&tbab);

Rasmus

unread,
Jul 27, 2004, 1:20:12 PM7/27/04
to
I am having the same problems. Have you solved your problem?

/rasmus

0 new messages