1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Screen Capture/"prnt screen"

Discussion in 'C' started by rasmusskovmand, Jul 23, 2007.

  1. rasmusskovmand

    rasmusskovmand New 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.
     
  2. DaWei

    DaWei New Member

    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.
     

Share This Page