VB实现简单的热键/快捷键功能

作者:小菜 更新时间:2025-01-15 点击数:
简介:代码如下:Private Declare Function GetAsyncKeyState Lib "User32" (ByVal Vkey As Long)

【菜科解读】

代码如下:

Private Declare Function GetAsyncKeyState Lib "User32" (ByVal Vkey As Long) As IntegerPrivate Function MyHotKey(vKeyCode) As BooleanMyHotKey = GetAsyncKeyState(vKeyCode)

加入收藏
               

VB实现简单的热键/快捷键功能

点击下载文档

格式为doc格式

  • 账号登录
社交账号登录