ReDwAvE Posted August 17, 2004 Share Posted August 17, 2004 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 More sharing options...
0 anog Posted August 17, 2004 Share Posted August 17, 2004 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 More sharing options...
0 ReDwAvE Posted August 17, 2004 Author Share Posted August 17, 2004 no won't apper like in xp Link to comment Share on other sites More sharing options...
0 +John Teacake MVC Posted August 17, 2004 MVC Share Posted August 17, 2004 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 More sharing options...
0 tommie Posted August 19, 2004 Share Posted August 19, 2004 How do I get 32bit working for an ImageList? Need it for a ToolBar, they're showing up in 256 colors and no alpha channel. Link to comment Share on other sites More sharing options...
0 Ph8l Posted August 19, 2004 Share Posted August 19, 2004 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 More sharing options...
0 todd Posted August 19, 2004 Share Posted August 19, 2004 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 More sharing options...
0 azcodemonkey Posted August 19, 2004 Share Posted August 19, 2004 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 More sharing options...
0 anog Posted August 19, 2004 Share Posted August 19, 2004 The imagelist doesn't save alpha information. At least for icons it does... Or else it would be useless! Link to comment Share on other sites More sharing options...
Question
ReDwAvE
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