问题描述
如何使用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!
推荐答案
这篇关于使用C#中的桌面窗口管理器(DWM)API克隆或镜像鼠标指针的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!