DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: I need help!

  1. #1
    Budgi Guest

    I need help!


    I need to know how to capture the screen, and save it as a bitmap. Only parts
    of the screen need to be captured, but if someone can tell me how to capture
    the whole screen, I'm sure I can figure it out from there.
    Also, does anyone know an easy way to compare bitmap files?

  2. #2
    Boris Karadjov Guest

    Re: I need help!

    GetDC(NULL) retrieves the device context for the entire screen (primary
    monitor in case of multi-monitor configurations). Then you can use BitBlt to
    copy a selected rectangle area of the screen to a memory DC with a in-memory
    bitmap selected into it.
    --
    Boris Karadjov
    Brainbench MVP for Visual C++
    http://www.brainbench.com

    "Budgi" <budgi@hotmail.com> wrote in message
    news:3b7f7a9c$1@news.devx.com...
    >
    > I need to know how to capture the screen, and save it as a bitmap. Only

    parts
    > of the screen need to be captured, but if someone can tell me how to

    capture
    > the whole screen, I'm sure I can figure it out from there.
    > Also, does anyone know an easy way to compare bitmap files?




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links