Link to home
Start Free TrialLog in
Avatar of kraphics
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.
Avatar of kraphics
kraphics

ASKER

Edited text of question
Edited text of question
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.
arnond's answer did not address the issue of displaying the image data in the static control.
ASKER CERTIFIED SOLUTION
Avatar of cramer091498
cramer091498

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial