title: Persistent window across multiple windows 10 virtual desktops?
body: <p>I have C# WPF program with multiple windows. I've added support for windows 10 desktops, but the users would like some windows to stay on the screen when moving between desktops. </p>
  
  <p>For example if window A is opened on the first desktop and they flip to the second desktop they want window A to stay in the same location on the new desktop. </p>
  
  <p>The only functions I'm aware of are from the VirtualDesktopManager:</p>
  
  <pre><code>GetWindowsDesktopId()
  IsWindowOnCurrentVirtualDesktop()
  MoveWindowToDesktop()
  </code></pre>
  
  <p>Is there a way to do this?</p>
  
  <p>Also is there a way to detect when a desktop flip has been initiated? Because if so I could always call IsWindowOnCurrentVirtualDesktop() and if the answer is no I could call MoveWindowToDesktop() to place it there. Seems like a bit of a hack, but would get the job done if i had a way to detect the desktop change.</p>