Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I display a JPG or GIF in my MFC app?

Images

How can I display a JPG or GIF in my MFC app?

by  KeithBrautigam  Posted    (Edited  )
Paul DiLascia answered this question very nicely in his C++ Q&A column in the October 2001 issue of MSDN Magazine. You may find his article at

http://msdn.microsoft.com/msdnmag/issues/01/10/c/c0110.asp

Also, MFC 7.0 (in Visual C++ .NET) will include a CImage class that will let you do this. Please see

http://msdn.microsoft.com/msdnnews/2001/sept/vcnet/vcnet.asp


CodeGuru has some info as well. Here's a link on animated GIFs:

http://www.codeguru.com/bitmap/PictureEx.html

And here's one on TIFF files:

http://www.codeguru.com/bitmap/tiff_image.html
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top