-
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?
-
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks