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.
I could not find anything in the official documents.