谁能提供一个小程序?
来源:百度知道 编辑:UC知道 时间:2024/06/02 14:58:19
用这个程序,能够输入某键的值 ,
就知道是什么键
例如,已知0x11b,就知道是ESC了
谢谢!!!
有没有这样的c程序啊!
就知道是什么键
例如,已知0x11b,就知道是ESC了
谢谢!!!
有没有这样的c程序啊!
Virtual-Key Codes
--------------------------------------------------------------------------------
The following table shows the symbolic constant names, hexadecimal values, and mouse or keyboard equivalents for the virtual-key codes used by the system. The codes are listed in numeric order.
Constants
VK_LBUTTON (01)
Left mouse button
VK_RBUTTON (02)
Right mouse button
VK_CANCEL (03)
Control-break processing
VK_MBUTTON (04)
Middle mouse button (three-button mouse)
VK_XBUTTON1 (05)
Windows 2000/XP: X1 mouse button
VK_XBUTTON2 (06)
Windows 2000/XP: X2 mouse button
- (07)
Undefined
VK_BACK (08)
BACKSPACE key
VK_TAB (09)
TAB key
- (0A-0B)
Reserved
VK_CLEAR (0C)
CLEAR key
VK_RETURN (0D)
ENTER key
- (0E-0F)
Undefined
VK_SHIFT (10)
SHI