在输入对象不失去焦点的情况下如何在虚拟键盘的按键上进行事件与屏幕键盘相同 [英] How to make event on key of virtual keyboard while Inputed object isn't lost focus that same with On-Screen Keyboard

查看:166
本文介绍了在输入对象不失去焦点的情况下如何在虚拟键盘的按键上进行事件与屏幕键盘相同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的大家,
我正在编码与窗口的屏幕键盘相同的虚拟键盘.
按下键盘上的键时,输入的对象仍然不会丢失.
在输入对象不失去焦点的情况下如何在虚拟键盘的按键上进行事件?.
请帮助我!!!!
(我认为此问题意味着创建已停用的表单并在此表单上执行事件")

Dear everybody,
I''m coding virtual keyboard which is same with on-screen keyboard of window.
when press a key on keyboard, inputed object still not lost to focused.
How to make event on key of virtual keyboard while Inputed object isn''t lost focus?.
Plz help me!!!!
(i think that this problem mean that "create deactivated form and perform event on this form ")

推荐答案

如果我理解您的问题,那么您需要全局键盘钩子-看看本文 [ google [
If I understand your question then you need global keyboard hooks - have a look at this article[^] or google[^].




看一下本文:
触摸屏键盘用户控件 [
Hi,

Take a look at this article: Touchscreen Keyboard UserControl[^]

@Davey: No, the OP is not in need of a "keyboard hook". What he needs is to simulate key board events such as key press and release.


这篇关于在输入对象不失去焦点的情况下如何在虚拟键盘的按键上进行事件与屏幕键盘相同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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