This question is worth 1000 points (after solution, will post another 500 question).
I'd like a working demo that can grab a bitmap of a given window in a virtual desktop.
Demo should function as follows:
1. Create virtual desktop
2. Start given application in a virtual desktop (for example, WinAmp) but don't switch to that virtual desktop
3. Capture the bitmap of "equilizer" WinAmp window and save bitmap to a file while virtual desktop is *not* visible.
Please note that step 3. is core of the problem - I need a working example of how to capture a window
that is opened in a virtual desktop while the user is in another virtual desktop (i.e. not actually
seeing the window that is beeing captured).
Steps 1. and 2. I can manage, but don't have time right now, thus 1000 points :)