CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Saving Screen..

  1. #1
    Join Date
    May 1999
    Posts
    10

    Saving Screen..


    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 ^^;


    ^^

  2. #2
    Join Date
    May 1999
    Location
    Germany
    Posts
    106

    Re: Saving Screen..

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured