kraphics
asked on
Place a bitmap from a file into a "static" control
I am using Microsoft Visual C++ 5.0.
I wish to place an image from a file into the client area of a "static" picture frame control.
I would like the code to do this for JPEGs and BMPs.
All of the examples I see will only do this with images that are resource files.
I wish to place an image from a file into the client area of a "static" picture frame control.
I would like the code to do this for JPEGs and BMPs.
All of the examples I see will only do this with images that are resource files.
ASKER
Edited text of question
ASKER
I really would like the code to do this, and not a refference to a web page to download a control.
One of the reasons I want the code is to make a control.
One of the reasons I want the code is to make a control.
take a look at:
http://smallest.hypermart.net/jpegfile.htm
or at:
http://www.vsce.com/src_code/faq_source_code.html
also, chech out:
https://www.experts-exchange.com/topics/comp/lang/cplusplus/Q.10092014
http://smallest.hypermart.net/jpegfile.htm
or at:
http://www.vsce.com/src_code/faq_source_code.html
also, chech out:
https://www.experts-exchange.com/topics/comp/lang/cplusplus/Q.10092014
ASKER
arnond's answer did not address the issue of displaying the image data in the static control.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER