I'm using a great class called CImageDataObject that takes a IRichEditOle* and an HBITMAP and inserts it into the associated CRichEditCtrl. My problem is that I am inserting small "smiley" bitmaps into a chat edit and every one has white around the yellow face. How do I make the background transparent? I was just making the background of the rich edit white, but I'm using a CListBox beside it and I can't change it to white, so it looks odd with white and gray right next to each other. I suppose I could use a CListCtrl instead of CListBox so I can change the bgcolor but I don't want to do that unless I have to.
After rereading my post, I just want to make it clear that I'd like to somehow make the background of the bitmaps transparent.