联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Simulates keystrokes using keybd_event - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为15373
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • Air Traffic Controller
  • jasperreports
  • PoolMan
  • Apache-SSL-Jserv
  • virtualdub-win
  • CppUnit
  • GLgraph
  • Step Mania
  • FCK editor
  • -= 更多 =-

    项目描述:
    This class simulates keystrokes using the keybd_event API. If offers two advantages over SendKeys. First, it doesn't cause the num lock light to flicker unless you specifically press the num lock key. Secondly, it's possible to press and hold a key. Sample Usage: Dim keys As New clsKeys Dim bCapsLock As Boolean keys.GetLockStatus bCapsLock, True, True If bCapsLock Then keys.PressKeyVK keyCapsLock End If keys.PressString "Now is the time for all good men to come to " & _ "the aid of their country."
    来源: http://www.freevbcode.com/ShowCode.Asp?ID=340
    这个类通过使用keybd_event API来模仿按键动作的。相对于SendKeys,它具有两个优点。首先,它不会让数字锁定灯闪烁,除非你专门按了这个键。其次,它可以按并保持这个按键。
    类别:
    发布者: cbd001

    最新发布源码包
    软件包 版本号 日期 本地下载
    clsKeyboard  1.0  2003-11-25 下载

    原始下载连接(国外) http://www.freevbcode.com/code/clsKeyboard.zip

      » 合 作 伙 伴