CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2000
    Posts
    21

    Persistant screen capture

    Hi !


    Here is my problem : I've developed a chat-like application with VC 6.0
    In it, I've added a common drawing area.

    Each time a user draws something in the draw area, a draw order is sent to all others clients (via a server of course !). When a client is receiving the draw order, after drawing it, I would like the application to do a screen capture instead of keeping all the draw orders.

    Can you tell me how can I implement that ? I would like to do it with the MFC (CDC, CDC::CreateCompatibleDC, CBitmap, and so on...)

    My problem is that I don't know how to keep in memory the captured picture.

    Thanks a lot...


  2. #2
    igbrus is offline Elite Member Power Poster
    Join Date
    Aug 2000
    Location
    Los Angeles
    Posts
    4,658

    Re: Persistant screen capture

    GetDIBits should help you.


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