S
scoobydoo
hi,
I have a problem displaying icons at the right colour depthin a
ListView.
I've made an icon file, (using IconWorkshop 5), it has 3 icons within
it. A 32x32 32bpp XP style icon, a 32x32 32bpp non-xp icon (no
transparency), and a 16x16 version.
I add these icons to an ImageList, which is then assigned to the
LargeImageList property of the ListView.
The list view dislays the XP-style icon even on Win2k. I would like to
be able to tell it to display the non-xp version of the icon.
I've tried setting the "ColorDepth" property of the ListView- but it
seems to make no difference.
In Windows File Explorer they display correctly (ie, on win2k it shows
the non-xp icon).
It also seems to slightly distort the image - (it seems to take the XP
icon, and convert its colour depth)- , compared to the Windows
Explorer version.
Any ideas? I'm getting desparate.
Thanks,
David.
I have a problem displaying icons at the right colour depthin a
ListView.
I've made an icon file, (using IconWorkshop 5), it has 3 icons within
it. A 32x32 32bpp XP style icon, a 32x32 32bpp non-xp icon (no
transparency), and a 16x16 version.
I add these icons to an ImageList, which is then assigned to the
LargeImageList property of the ListView.
The list view dislays the XP-style icon even on Win2k. I would like to
be able to tell it to display the non-xp version of the icon.
I've tried setting the "ColorDepth" property of the ListView- but it
seems to make no difference.
In Windows File Explorer they display correctly (ie, on win2k it shows
the non-xp icon).
It also seems to slightly distort the image - (it seems to take the XP
icon, and convert its colour depth)- , compared to the Windows
Explorer version.
Any ideas? I'm getting desparate.
Thanks,
David.