Screen Capture/"prnt screen"

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

  1. rasmusskovmand

    rasmusskovmand New Member

    Joined:
    Jul 23, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice