Click to See Complete Forum and Search --> : Icon Transparence and ListView Space


ClickHeRe
July 26th, 2005, 08:01 PM
http://dcx.scriptsdb.org/listview.png

This image represents all of the problems I have. The icons display that white border; they are extracted from shell.dll with the following code :

HICON icon;
himl = ImageList_Create( 16, 16, ILC_COLOR32|ILC_MASK, 1, 0 )
ExtractIconEx( filename, index, 0, &icon, 1 );
ImageList_AddIcon( himl, icon );
DestroyIcon( icon );

Thanks
David