Hello everyone,
I would like to store some icons inside my application (so no extra files are needed to run the app), so I used an ImageList, but this seems to screw up the alpha channel of the icons.
I have a form with a StatusStrip control on it. In this strip is a StatusLabel with an image next to it. When I load an icon with alpha channel directly from file to set as it's image it displays fine, but when I load the same icon into an ImageList and set it as the StatusLabel's image, all pixels that have an alpha other than 0% or 100% are displayed as blue.
Changing the ImageList's ColorDepth value does not solve this problem.
I would really like the icons to display correctly.
Thanks for any help.




Reply With Quote