Incorrect Display of Windows XP Icons in VB.NET ImageLists and PictureBoxes
Posted on 2003-11-01
I'm very new to .NET and assume this is a fairly basic problem. I am trying to make use of Windows XP (32 bit) icons with drop shadows in my application throughout, adding them to ImageLists and PictureBoxes. Every time I add an icon to an ImageList or PictureBox, even if I have ColorDepth property to Depth32Bit, it picks up the 256 color version of the icon. If I provide an icon that has no 256 color version, it takes the XP icon but downmixes it to 256 colors and makes the drop-shadow thick black which looks awful. Adding a Windows XP icon as the application's main icon however works just fine. Surely a development environment released post-Windows XP must be able to handle Windows XP icons, what am I doing wrong?
Would be extremely grateful for any help offered.