Displaying PNG image on window
Dear All,
I have created a window with createwindow() api using vs2005 in c++ on windows Vista
My requirement is to draw png image on that window.
I tried using the LoadImage() but it takes only, .bmp,.ico,.cur files as input.
I am not using any MFC in this application
Please help me with some code snippet
with regards
Vinayaka Karjigi
Re: Displaying PNG image on window
Try GDI+
Too busy to be bothered with a code snippet but look at these
http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
And for loading and displaying an image [http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx shouldn't be to hard to display a png instead of a jpg. And yes it supports PNG (as well as a heap of other formats)