I am using virtual desktops on Windows using simple app that i coded myself in C++, i was wondering if there is way to capture screenshot of secondary/hidden desktop ? I know that i can do SwitchDesktop -> capture screenshot -> SwitchDesktop, but it doesnt sound like good solution....
Maybe i run some window in the hidden desktop, to get its hwnd and SOMEHOW to use it to capture the entire screen ?
I have run Spy++ but seems it not finding windows that dont belong to currently active desktop.
Thanks in advance.