• 0

32bit icon in Your .Net Program! only on NEOWIN!


Question

hi,

i have found two way to put 32bit icon in .net ( i try it in vb.net i think it work in other .net languae)

Hard way

1. you can [Paint] the icon in the buttom, label and text witch i have lost the code for it

maybe some1 try to do it cause i know it work

Easy Way

2. convert your icon to png format ( i use Axialis IconWorkshop 5 ) and wollaa :woot: work in any control got image

that what i want to share with this awosme forum

Have fun programming!!! (remember : don't forget to put my name in the about :whistle: joking :D )

(note : i test this in vb.net and vs 2002 i think it work in 2003 need confrim)

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

And simply creating a 32bit icon using an icon utility such as the ones by Microangelo and using that file in Visual Studio wouldn't work?

Link to comment
Share on other sites

  • 0

Ok thanks for sharing but I dont think its worthy of been made a sticy. I'm sure your not the only person to figure out how to do it. Welcome to Neowin anyway.

Link to comment
Share on other sites

  • 0
And simply creating a 32bit icon using an icon utility such as the ones by Microangelo and using that file in Visual Studio wouldn't work?

yup it works, thats how i've always done it...

Link to comment
Share on other sites

  • 0
yup it works, thats how i've always done it...

It's never worked for me.. creating a 32-bit icon in Microangelo (or using one made by someone else), add it to an image list, set image list depth to 32-bit, add the icon to the toolbar... no go. anything that was supposed to be alpha appears black. I have known about this png method for a few weeks though..

Link to comment
Share on other sites

  • 0

The imagelist doesn't save alpha information. If you store your icons in a resource and retrieve them directly without using an imagelist, I believe alpha info is preserved.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.