HMONITOR 何时可以与多个物理显示器相关联?
When can an HMONITOR be associated with multiple physical displays?
在一篇 MSDN 文章中,我阅读了以下内容:
HMONITOR and the Device Context
Each physical display is represented by a monitor handle of type HMONITOR.
然而,另一篇文章似乎与该说法相矛盾:
GetPhysicalMonitorsFromHMONITOR function
A single HMONITOR handle can be associated with more than one physical monitor.
所以我的问题是:在什么情况下一个HMONITOR
会关联多个物理监视器?
一个 HMONITOR 可以与多个 physical/virtual 监视器相关联,如下所示:
multi-monitors share a same HMONITOR
当select 'Duplicate these displys' 而不是'Extend these displays' 时,两个physical/virtual 监视器可以共享一个HMONITOR,或者换句话说,它们完全重叠。在这种情况下,您可能会得到两个 IDDCX_MONITORs(物理或虚拟监视器)但只有一个 HMONITOR。
实际上,我正在寻找 IDDCX_MONITORs 和 HMONITOR 之间映射的方法:Map a IDDCX_MONITOR to a HMONITOR
在一篇 MSDN 文章中,我阅读了以下内容:
HMONITOR and the Device Context
Each physical display is represented by a monitor handle of type HMONITOR.
然而,另一篇文章似乎与该说法相矛盾:
GetPhysicalMonitorsFromHMONITOR function
A single HMONITOR handle can be associated with more than one physical monitor.
所以我的问题是:在什么情况下一个HMONITOR
会关联多个物理监视器?
一个 HMONITOR 可以与多个 physical/virtual 监视器相关联,如下所示:
multi-monitors share a same HMONITOR
当select 'Duplicate these displys' 而不是'Extend these displays' 时,两个physical/virtual 监视器可以共享一个HMONITOR,或者换句话说,它们完全重叠。在这种情况下,您可能会得到两个 IDDCX_MONITORs(物理或虚拟监视器)但只有一个 HMONITOR。
实际上,我正在寻找 IDDCX_MONITORs 和 HMONITOR 之间映射的方法:Map a IDDCX_MONITOR to a HMONITOR