How to get a thumbnail of a window in C#? Already been done by Bart de Smet, he used the new Vista DWM api to achieve that.