|
发表于 2024-10-10 01:30:19
|
显示全部楼层
功能键没有发送消息给系统
一般这类软件用的是这几个API写的
- Private Declare Function GetKeyboardLayout Lib "user32" (ByVal dwLayout As Long) As Long
- Private Declare Function GetKeyboardState Lib "user32" (pbKeyState As Byte) As Long
- Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long)as integer
- Private Declare Function GetKeyState Lib "user32" (ByVal nVirtKey As Long)as integer
复制代码
|
|