如何在VB中使用钩子技术拦截键盘消息  被引量:2

How to Get the Message by Hook in VB Keyboard

在线阅读下载全文

作  者:喻钢[1] 周定康[1] 

机构地区:[1]江西师范大学计算机系,江西南昌330027

出  处:《计算机与现代化》2001年第6期68-71,共4页Computer and Modernization

摘  要:阐述了如何在 VB中使用钩子技术拦截键盘消息。在 VB的应用程序中大部分的键盘输入消息可以很容易地通过窗体或控件的 Key Down事件来处理。本文所阐述的这种方法让我们可以处理另外一些难以获得的组合键 ,例如 TAB键或其他组合的快捷键。Demonstrates how to intercept input from the keyboard before it reaches your Visual Basic application. Most keyboard input can be readily intercepted by a Visual Basic application by using the KeyDown event of the form or control. The technique shown here allows you how to handle otherwise unavailable key combinations such as the TAB key or access key combinations.

关 键 词:VB语言 软件开发 钩子技术 键盘消息 计算机 消息拦截 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象