Transparent images in tab control
I want to draw images in tab control items, I'm using ImageLists to do so, but I can't get transparency. I'm using this code to set imagelist:
ImageList_AddMasked(himlSmall, bmp,RGB(255,0,255));
ImageList_SetBkColor(himlSmall,CLR_NONE);
RGB(255,0,255) is bitmap's background color, that I don't want to draw on tab controls.
Can you help me?
EDIT:
Doesn't matter now, I solved it, used ImageList_LoadImage().

