문제

It is possible to start an application on another desktop as this example in autoit shows:

http://www.autoitscript.com/forum/topic/159441-createprocess-on-other-desktop-and-bring-it-back/

But is it possible to bring it back to the input desktop?

How to switch a process between default desktop and Winlogon desktop?

...says it is only possible for applications without window handles. But any windows app has at least one window. What is the purpose of SetThreadDesktop when it only can move console applications in a multi desktop-system?

And if SetThreadDesktop can move the calling thread how to perform that for the process I started which does not belong to my thread but has its own PID?

Thanks

올바른 솔루션이 없습니다

다른 팁

I am sure you are misunderstood concept of desktops. In Windows desktop is securable object, not graphical entity. Not confuse with Desktop in Windows Shell namespace.

Also is possible create windows app without any window so SetThreadDesktop works for windows app too, not only for console.

And last note: Input desktop is designed for input, why you want move any windows from another desktop? What is your design goal?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top