按键精灵如何实现组合键检测

日期:2018-05-23 23:40:03 人气:1

按键精灵如何实现组合键检测

Private Declare Function GetKeyState Lib"user32"(ByVal nVirtKey As Long) As Integer Do If GetKeyState(17) < 0 and GetKeyState(67) < 0 Then TracePrint a a=a+1 End If Loop 修改相应的按键码就好了,上面的17和67是Ctrl和C,同时按下则弹出弹
    A+
热门评论