Click to See Complete Forum and Search --> : Saving Screen..


nukbaby
May 23rd, 1999, 04:01 AM
Saving Screen..

At Example..

CRect rect = CRect(10,10,100,100);

Saving rect.. <-- i want solution in

this section.

and it display in screen.


Tool : VC++ 5.0..

ps i'm poor at english.. sorry ^^;


^^

pherweg
May 23rd, 1999, 05:06 PM
Hello nukbaby,

unfortunately i don't know what you want to do with the saved data.
But maybe this hint will help you:

CDC dc;
dc.CreateDC("DISPLAY",NULL,NULL,NULL);

Now you have the device context for your screen and you are able to use the
member functions of CDC.
(This works in VC++ 6.0. I hope it will work in VC++ 5.0 too.)

Please write a short answer, if this information was useful to you.


Peter