存在API以使窗口对所有虚拟桌面可见 [英] Existence of an API to make a window visible to all virtual desktops
问题描述
我们知道Windows 10本身支持多个桌面。
我的问题:是否有API可以让所有桌面都可以看到一个窗口?
(PS Mac中的对应关系是"分配给所有桌面")
我是直到目前为止还是害怕Windows 10引入了一个名为Virtual Desktops的新概念(无论如何都适用于Windows)。 目前,MSDN上的指南指出:用户可以将一组窗口组合在一起以创建虚拟桌面。每个窗口
都被视为虚拟桌面的一部分。当隐藏一个虚拟桌面时,与其关联的所有窗口也将被隐藏。但是Windows提供了一个名为MoveWindowToDesktop的API,可以帮助您将窗口移动到指定的虚拟桌面。
有关更多信息和案例,请参阅此链接。希望可以提供帮助。
http://blogs.msdn.com/b/winsdk/archive/2015/09/10/virtual-desktop-switching-in-windows- 10.aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/mt186443(v = vs.85).aspx < /跨度>
As we know that Windows 10 natively support multiple desktops.
My question: is there an API such that we can make a window visible to all desktops?
(P.S. A correspondence in Mac is "Assign To All Desktops")
I’m afraid not till so far. Windows 10 introduces a new concept (for Windows anyway) called Virtual Desktops. Currently, the guidance for this on MSDN states: The user can group a collection of windows together to create a virtual desktop. Every window is considered to be part of a virtual desktop. When one virtual desktop is hidden, all of the windows associated with it are also hidden. But windows provide an API called MoveWindowToDesktop can help you move a window to the specified virtual desktop.
For more information and cases, please refer to this link. Hope that can help.
http://blogs.msdn.com/b/winsdk/archive/2015/09/10/virtual-desktop-switching-in-windows-10.aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/mt186443(v=vs.85).aspx
这篇关于存在API以使窗口对所有虚拟桌面可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!