Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Screen Capture/"prnt screen" (http://www.go4expert.com/forums/screen-capture-prnt-screen-t5410/)

rasmusskovmand 23Jul2007 20:42

Screen Capture/"prnt screen"
 
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.

DaWei 23Jul2007 23:55

Re: Screen Capture/"prnt screen"
 
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.


All times are GMT +5.5. The time now is 18:41.