VStudio .NET (VC++) and MFC : Text on image and save it?

A

Arches38

Hello,

I need to put some text informations on an image and then save the
image (with informations on it) in a BMP file.

I work with two classes :
- a class herited of a CDocument object
- a class herited of a CScrollView object

In the application frame, I have an image (from an acquisition card).
I have to put some informations on in (some text informations).

I have try de the DrawText method, but this one create a new rectangle
to put the text in frame.

Is it possible to put some text informations directly on the image?

Thanks,
Arches38
 
J

Jerry Coffin

[ ... ]
I work with two classes :
- a class herited of a CDocument object
- a class herited of a CScrollView object

In the application frame, I have an image (from an acquisition card).
I have to put some informations on in (some text informations).

I have try de the DrawText method, but this one create a new rectangle
to put the text in frame.

Try going to comp.os.ms-windows.tools.mfc and asking about
CDC::SetBkMode with the TRANSPARENT flag.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top