I'm trying to make a window screenshot from a non-active desktop (created with CreateDesktop). I use the following code:


public partial class Form1 : Form
{
...