键盘(虚拟键盘) [英] keyboard (virtual keyboard)
本文介绍了键盘(虚拟键盘)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以不使用窗口句柄(HWND)作为dll来制作虚拟键盘吗?
在此先感谢!!
hi ,
is tat possible to make a virtual keyboard without using window handle (HWND) as a dll ????
Thanks in Advance !!
推荐答案
您好,
请点击链接
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_22823814.html [ ^ ]
希望对您有帮助
谢谢
sanjeev
Hello ,
Follow the link
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_22823814.html[^]
Hope it will help you
thanks
sanjeev
坏主意.您可以在模拟低级别的键盘输入时制作这种虚拟键盘,就好像它是从硬件键盘发送的一样,而不管窗口是什么.您可以使用P/Invoked原始Windows APISendInput
来实现.
请参阅 http://msdn.microsoft.com/en-us/library/ms646310(v = vs.85).aspx [
Bad idea. You can make such virtual keyboard is you simulate keyboard input on low-level, as if it is sent from a hardware keyboard regardless the windows. You can do it using P/Invoked raw Windows APISendInput
.
See http://msdn.microsoft.com/en-us/library/ms646310(v=vs.85).aspx[^].
—SA
不确定该文章有多大帮助,但是,您当然可以创建所需的任何内容. 虚拟键盘"只是按钮所覆盖的一种形式,每个按钮都会向其存储为焦点控件的控件发送一个按键.
Not sure how much that article helps, but, of course you can create anything you want. A ''virtual keyboard'' is just a form covered in buttons, and each button sends a keypress to the control that it stores as the focus control.
这篇关于键盘(虚拟键盘)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文