K Andrews

K Andrews

  • NA
  • 10
  • 2.4k

How to get screenshots of windows in C#

Nov 18 2014 11:55 PM

Hello, for the C# project I am working on I need to get screenshots of all the open windows (like the window thumbnails in the taskbar, but full size). It must also get images from windows that are not on the visible screen area (half/all of the window is off the screen).

Please don't reply with, graphics.copyfromscreen(), because it does not return parts of the window that are off the screen.

Does anyone know how I can do this?

If anyone has an idea, please post some demo code, or a place that i can find some demo code.

(running Windows 7 Home, with Microsoft Visual C# 2010 Express)


Answers (2)