Hello! I've tried to create an icon from two gdi+ bitmaps and I can't make the icon transparent.
Here's my code:
It seems that hbmMask is not set. Why?Code:ICONINFO iconInfo = {0}; iconInfo.fIcon = TRUE; bmp.GetHBITMAP(Color(255,0,0), &iconInfo.hbmColor); bmp2.GetHBITMAP(Color(255,0,0), &iconInfo.hbmMask); HICON hIcon = CreateIconIndirect(&iconInfo);
Bye!




Reply With Quote