一种基于钩子链技术快速关闭所有窗口的方法  被引量:1

Method to Quickly Close All Windows Based on Hook Chain Technology

在线阅读下载全文

作  者:甘志春[1] 王良[2] 

机构地区:[1]通信指挥学院2系,湖北武汉430010 [2]通信指挥学院6系,湖北武汉430010

出  处:《现代电子技术》2011年第14期41-43,共3页Modern Electronics Technique

摘  要:为了达到指战员在撤收转移或其他紧急情况下快速关闭所有打开的报文文档或军事信息系统的目的,通过分析Windows消息传递机制及钩子链技术的基本原理,在Windows平台下采取利用动态链接库装载全局鼠标钩子链来截获特定的鼠标消息,并自定义该消息触发的响应事件的方法,获得了任意处按下鼠标左键时双击右键即可快速关闭所有窗口且能够在窗口关闭时保存实时数据的结果。该方法简化了计算机操作,缩短了关闭所有窗口的时间,适应了现代作战快节奏的需求。In order to achieve the purpose that commanders close all the opened documents and military information sys- tems quickly when the operators have to move or some urgent circumstances happen, by analyzing the message passing mecha- nism of Windows and the basic principles of the hook chain, the dynamic link library is adopted to load the global mouse hook chain which can intercept particular mouse affairs, and the response event triggered by the mouse affairs is customized in Win- dows platform. As a result, all the windows can be closed and the real-time data can be saved by double-clicking the right mouse button with the left mouse button pressed. This method can simplify computer operations and shorten the time of closing all the windows. Therefore, it adapts to the needs of fast-paced modern combat.

关 键 词:钩子链 动态链接率 窗口关闭 响应事件 

分 类 号:TN919-34[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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