I'm trying to take screenshots of all open windows, also the minimized ones. Currently I'm using this code: http://www.developerfusion.com/code/4630/capture-a-screen-shot/
But it doesn't work for minimized windows and the areas where there is a Glass effect since Vista like the explorer title bar are black. Can anyone help me out?
My objective is to create something similar to Flip 3D; it would be great if someone also knew something about how to create a live preview.
I've found the API that is used for the taskbar previews a.s.o.:
Pretty awesome, it even allows you to do live previews!