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

自动选择工具在通讯软件中的应用研究
引用本文:陈擎月,王冬.自动选择工具在通讯软件中的应用研究[J].微计算机信息,2012(3):181-183.
作者姓名:陈擎月  王冬
作者单位:奇虎360
摘    要:论文设计了一种基于Windows窗口句柄的自动选择工具,该工具在即时通讯软件中具有一定的应用价值,它可以迅速准确地帮助用户定位聊天对象。该工具利用唯一标识窗口句柄绑定目标窗口,待系统收到WM_COMMAND消息后根据存储的Windows窗口句柄设置绑定窗口为当前活动窗口,并把键盘焦点设置到该窗口上。该工具利用ini文件保存最后一次绑定的窗口名称。当程序中存储窗口句柄的变量为空时,根据ini文件中的记录绑定目标窗口。

关 键 词:窗口句柄  目标窗口  即时通讯  ini文件

Application Study of an Aoto-selection Tool for IM
CHEN Qing-yue,WANG Dong.Application Study of an Aoto-selection Tool for IM[J].Control & Automation,2012(3):181-183.
Authors:CHEN Qing-yue  WANG Dong
Affiliation:(Qihoo 360 Technology Co.,Ltd,Beijing,100025,China)
Abstract:In this paper,a new intelligent selection tool which based on the window handle was designed.The tool is helpful in instant-messaging software.It can quickly and accurately identify someone who you are chatting with.Binding is controlled by the window handle.After the system receivd the WM_COMMAND message,it will set the binding window to window current activities and set the keyboard focus to the window.This tool use ini file to save the name of last binded window.When the variable stored the window handle is empty,it bind the window according to the ini file.
Keywords:window handle  mouse capture  instant messaging  ini file
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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