linker
Emutalk Member
Hello. I know thats not a big deal, but why the heck isn't the image in the column info transperent. It is transperent in the list view messages, but not in the header. Source code:
I've also tried changing LR_DEFAULTCOLOR to LR_COPYFROMRESOURCE and LR_LOADTRANSPARENT.. no effect.
Code:
//set the image lists
if (himlSmall = ImageList_Create(16, 16, ILC_COLORDDB | ILC_MASK, 4, 0))
{
HICON hIcon;
hIcon = LoadImage(DVhInst, MAKEINTRESOURCE(IDI_DVQUESTIONMARK), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR);
ImageList_AddIcon(himlSmall, hIcon);
ListView_SetImageList(hwndDebugList, himlSmall, LVSIL_SMALL);
}
I've also tried changing LR_DEFAULTCOLOR to LR_COPYFROMRESOURCE and LR_LOADTRANSPARENT.. no effect.