使用C#中的桌面窗口管理器(DWM)API克隆或镜像鼠标指针 [英] Clone or mirror a mouse pointer using a Desktop Window Manager (DWM) API in C#
问题描述
如何使用C#中的桌面窗口管理器(DWM)API克隆或镜像鼠标指针
问题:您好,
我有一个用C#编码的应用程序,我使用Desktop Window Manager api通过获取其窗口句柄来镜像/克隆特定的应用程序,然后使镜像/克隆的应用程序出现在辅助监视器上.
我的问题是,我无法克隆或镜像鼠标指针,并使它与克隆或镜像的应用程序一起出现在辅助监视器上.有任何想法吗?
How can I clone or mirror a mouse pointer using a Desktop Window Manager (DWM) API in C#
Question: Hi,
I have an application coded in C# and I''m using a Desktop Window Manager api to mirror/clone a specific application by getting their window handle then make the mirrored/cloned application appeared on the secondary monitor.
My problem is, I cannot clone or mirror the mouse pointer and make it appear on the secondary monitor along with a cloned or mirrored application. Any ideas to do this?
Thanks in advance!
推荐答案
您好,我需要找到一个克隆系统窗口的解决方案,例如,如果我打开我的文档"文件夹,我可以克隆此窗口并查看2个我的文档窗口?
Hi, i need to find a solution to clone a system window, for example, if i open de folder "My Documents", can i clone this window and view 2 "my documents windows?
这篇关于使用C#中的桌面窗口管理器(DWM)API克隆或镜像鼠标指针的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!