I'm trying to use 32 bit png as images for toolbar control in my windows forms application

They seems to be drawn correctly when I load them in my ImageList Control, but when I select one of them as toolbar button image, transparency is not rendered correctly: all my Icons have some sort of blue "halo" around them

Does someone have some advice for me?

Re: 32 Bit PNG and Transparency by hirf-spam-me-here

hirf-spam-me-here
Tue Apr 27 12:25:27 CDT 2004

* "=?Utf-8?B?Q3JhZA==?=" <anonymous@discussions.microsoft.com> scripsit:
> I'm trying to use 32 bit png as images for toolbar control in my windows forms application.
>
> They seems to be drawn correctly when I load them in my ImageList
> Control, but when I select one of them as toolbar button image,
> transparency is not rendered correctly: all my Icons have some sort of
> blue "halo" around them.

If you are referring to an alpha channel -- this doesn't currently
work with PNG files in .NET.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>