Screen Capture/"prnt screen"

rasmusskovmand's Avatar, Join Date: Jul 2007
Newbie Member
I want to make a small application that takes "screen shots" of open windows of other applications. Then I'll do some image analysis to get the data I'm interested in. I know of the "prnt screen" key on the keyboard and think there must be a way to implement the use of that in an application and to get access to the Windows Clipboard as well.

Hope You can help me with some hints at least. What classes, API's etc. I should look after, because at this point, I'm pretty much lost. Preferebly in C/C++. Maybe You have som alternative ideas how to get information from other open windows/applications.
0
DaWei's Avatar, Join Date: Dec 2006
Team Leader
See MSDN. For instance, here is information about dealing with GDI/bitmaps. You'll also need to read about getting a window's handle and its client coordinates.