how can I make png as icon for my application?
Thanks
Natively? It may not be possible. The LoadIcon and LoadImage APIs are rather particular about what resources and files are referenced. Of course, you could probably read a .png file and convert it to icon format, then load that as the icon. Perhaps try the GDI+ libs, there might be something in there that can help.
See:
http://msdn.microsoft.com/en-us/library/ms648072.aspx
http://msdn.microsoft.com/en-us/library/ms648045(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms533798(VS.85).aspx
Hi sosolici
Here is diablo2oo2´s source ,this convert a image to PNG,JPG,BMP,GIF
I hope this help you, or a other has a bmp2ico source.
greets
edit: sorry is wrong! i have read png2icon :lol
[attachment deleted by admin]