像OSK一样发送击键 [英] Send keystroke like OSK

查看:110
本文介绍了像OSK一样发送击键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,如何像屏幕键盘一样发送按键?

Hello guys, how to send key stroke like on-screen keyboard does?

任何指南或示例开头。

谢谢。

每一秒都计算...使用它。免责声明:此帖子按原样提供,不提供任何保证或担保,也不授予任何权利。

Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

推荐答案

您好cguan,

Hi cguan,

请参考以下主题,该主题共享有关使用P / Invoke到SendInput Windows API的示例。

Please refer to the following thread, which share a sample about using P/Invoke to the SendInput Windows API.

https://social .msdn.microsoft.com /论坛/ vstudio / EN-US / 392cbf8a-25d8-401a-8a04-5d490ddc9c5b /不同-按键从 - 屏幕上的键盘间和-的SendKeys?论坛= WPF

祝你好运,

张龙


这篇关于像OSK一样发送击键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆