Exforsys
+ Reply to Thread
Results 1 to 2 of 2

Loading Picture

This is a discussion on Loading Picture within the C and C++ forums, part of the Programming Talk category; I am working with VC++. I want to load a picture which is of gif file format. How can I ...

  1. #1
    rachelle is offline Member Array
    Join Date
    Apr 2006
    Answers
    97

    Loading Picture

    I am working with VC++. I want to load a picture which is of gif file format. How can I do this? Give me some ideas for the same.


  2. #2
    priyaraji is offline Member Array
    Join Date
    Apr 2006
    Answers
    52
    You can make use of OleLoadPicture function. This function converts different formats not only gif file format but .jpg, .bmp, .ico, .emf, .wmf into an IPicture interface. Then you can make use of IPicture::Render function to display the picture. Try and let us know whether you could succeed.


Latest Article

Network Security Risk Assessment and Measurement

Read More...