How to detect changing of a virtual desktop for a window in Windows?

210 Views Asked by At

I want to know how to detect changing of a virtual desktop for a window in Windows? I am working in Windows API and C++. I tried to find out which messages are published by the Windows ( by using Spy++ tools from Microsoft Visual Studio ) but as you can see there is not any useful message there. It seems that WM_MOVE is also not published.

enter image description here

I could not find anything in the official documents.

0

There are 0 best solutions below