开发者

Move the mouse in wpf

开发者 https://www.devze.com 2023-01-25 21:03 出处:网络
I开发者_如何学运维\'m currently looking for a way to move the mouse in wpf. All I found was unmanaged method calls which I couldn\'t implement reliably. Is there an easy way to move the mouse cursor t

I开发者_如何学运维'm currently looking for a way to move the mouse in wpf. All I found was unmanaged method calls which I couldn't implement reliably. Is there an easy way to move the mouse cursor to some place, ie. after a doubleclick? I'm surely missing something here.


Add a reference to System.Windows.Forms.dll, then set Cursor.Position.

0

精彩评论

暂无评论...
验证码 换一张
取 消