首页 | 本学科首页   官方微博 | 高级检索  
     

VC6.0下实现屏蔽键盘按键
引用本文:刘基全. VC6.0下实现屏蔽键盘按键[J]. 电脑编程技巧与维护, 2010, 0(8): 111-113
作者姓名:刘基全
作者单位:华北计算机系统工程研究所,北京,100083
摘    要:分析在VC6.0环境下使用钩子技术屏蔽键盘按键的方法。首先介绍了钩子的概念、钩子的分类及相关API函数,然后以Win键、Alt+Tab组合键、Alt+Esc组合键以及Ctrl+Esc组合键为例,详细讨论了如何使用本地钩子和遥控钩子两种方式对它们进行屏蔽。由于这些按键的响应属于系统级的,只要可以进行屏蔽,则可以实现屏蔽任意按键。

关 键 词:钩子  API  钩子过程  消息

The Realization Methods of Shielding Keys on the Keyboard in VC6.0
LIU Jiquan. The Realization Methods of Shielding Keys on the Keyboard in VC6.0[J]. Computer Programming Skills & Maintenance, 2010, 0(8): 111-113
Authors:LIU Jiquan
Affiliation:National Computer System Engineering Research Institute of China;Beijing 100083
Abstract:This paper analyzes how to use HOOK technology to shield keys on the keyboard in VC(Visual C++)6.0 envi-ronment.First,the concept of HOOK,the classification of HOOK and the correlative API(Application Programming Inter-face)functions are introduced.And then Win key,Alt + Tab combination keys,Alt + Esc combination keys,as well as Ctrl + Esc combination keys,for example,are discussed in detail on how to use LOCAL HOOK and REMOTE HOOK to shield them.Because these keys are system-level response,as long as they ...
Keywords:API
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号