I created my toolbar using CreateWindowEx. I've added custom bitmaps using TB_ADDBITMAP message. And I've also added the buttons using TB_ADDBUTTONS message.

Now the problem I have is that I want to use transparent bitmaps to fill in the buttons. The same way as it is done with using the standard buttons like STD_FILENEW in the HINST_COMMCTRL imagelist.

Anyone know how to do this?

Thanks in advance for your help,

Ward