Solved

Snapshot the screen

Posted on 2000-03-20
4
137 Views
Last Modified: 2013-11-20
I have an hwnd that I do not control its OnPaint. I want to get create a bmp file that capture the window bitmap pixels. How can i do it?????
0
Comment
Question by:dvory
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
tchalkov earned 50 total points
Comment Utility
there is a good example on how to capture the whole screen in MSDN under the "Capturing an Image" title - search for it.
It can easily be modified to capture a specific window, not the whole screen
0
 
LVL 30

Expert Comment

by:Zoppo
Comment Utility
0
 
LVL 30

Expert Comment

by:Zoppo
Comment Utility
tchalkov, the given example does not provide any possibility to save image as bmp...
0
 
LVL 7

Expert Comment

by:tchalkov
Comment Utility
In the same topic two titles bellow there is one called "Storing an image". It describes storing a bitmap.

BTW the whole topic is a good reading to start with.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Expand to include initial dialog with two choices. 9 59
either24  challenge 19 83
Line meaning 9 75
Path of Workbook 3 44
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now