tags:

views:

478

answers:

3

How do you go about getting a thumbnail of a window, like Windows 7 superbar preview, or Aero flip? Note that I do not want a screenshot of the application, there is a way in DWM to get this information.

I would like a C# way of doing this.

Thanks

+1  A: 

Check this out

http://www.onedotnetway.com/programmatically-take-screenshot-using-c/

and then Michael L.'s comment.

Jan Jongboom
Jan, appreciate it, but this is exactly what I didn't want .. it just takes a screenshot. Vista/Win7 have an API for using DWM to do this which just gets a scaled down image of the buffer directly from the video card, thus avoiding the 'blanked out application' issue when minimized.
esac
A: 

You may want to check out Mimic - it's entire purpose is to do this, although it is a standalone app.

Nathan Tomkins
+4  A: 
Shay Erlichmen