随笔 - 2146  文章 - 96 评论 - 11753 trackbacks - 253

虚拟键码  对应值  对应键
VK_LBUTTON1鼠标左键
VK_RBUTTON2鼠标右键
VK_CANCEL3Cancel
VK_MBUTTON4鼠标中键
VK_XBUTTON15
VK_XBUTTON26
VK_BACK8 Backspace
VK_TAB9 Tab
VK_CLEAR12 Clear
VK_RETURN13 Enter
VK_SHIFT16 Shift
VK_CONTROL17 Ctrl
VK_MENU18 Alt
VK_PAUSE19 Pause
VK_CAPITAL20Caps Lock
VK_KANA21
VK_HANGUL21
VK_JUNJA23
VK_FINAL24
VK_HANJA25
VK_KANJI25*
VK_ESCAPE27Esc
VK_CONVERT28
VK_NONCONVERT29
VK_ACCEPT30
VK_MODECHANGE31
VK_SPACE32Space
VK_PRIOR33Page Up
VK_NEXT34Page Down
VK_END35End
VK_HOME36Home
VK_LEFT37Left Arrow
VK_UP38Up Arrow
VK_RIGHT39Right Arrow
VK_DOWN40Down Arrow
VK_SELECT41Select
VK_PRINT42Print
VK_EXECUTE43Execute
VK_SNAPSHOT44Snapshot
VK_INSERT45Insert
VK_DELETE46Delete
VK_HELP47Help
480
491
502
513
524
535
546
557
568
579
65A
66B
67C
68D
69E
70F
71G
72H
73I
74J
75K
76L
77M
78N
79O
80P
81Q
82R
83S
84T
85U
86V
87W
88X
89Y
90Z
VK_LWIN91
VK_RWIN92
VK_APPS93
VK_SLEEP95
VK_NUMPAD096小键盘 0
VK_NUMPAD197小键盘 1
VK_NUMPAD298小键盘 2
VK_NUMPAD399小键盘 3
VK_NUMPAD4100小键盘 4
VK_NUMPAD5101小键盘 5
VK_NUMPAD6102小键盘 6
VK_NUMPAD7103小键盘 7
VK_NUMPAD8104小键盘 8
VK_NUMPAD9105小键盘 9
VK_MULTIPLY106小键盘 *
VK_ADD107小键盘 +
VK_SEPARATOR108小键盘 Enter
VK_SUBTRACT109小键盘 -
VK_DECIMAL110小键盘 .
VK_DIVIDE111小键盘 /
VK_F1112F1
VK_F2113F2
VK_F3114F3
VK_F4115F4
VK_F5116F5
VK_F6117F6
VK_F7118F7
VK_F8119F8
VK_F9120F9
VK_F10121F10
VK_F11122F11
VK_F12123F12
VK_F13124
VK_F14125
VK_F15126
VK_F16127
VK_F17128
VK_F18129
VK_F19130
VK_F20131
VK_F21132
VK_F22133
VK_F23134
VK_F24135
VK_NUMLOCK144Num Lock
VK_SCROLL145Scroll
VK_LSHIFT160
VK_RSHIFT161
VK_LCONTROL162
VK_RCONTROL163
VK_LMENU164
VK_RMENU165
VK_BROWSER_BACK166
VK_BROWSER_FORWARD167
VK_BROWSER_REFRESH168
VK_BROWSER_STOP169
VK_BROWSER_SEARCH170
VK_BROWSER_FAVORITES171
VK_BROWSER_HOME172
VK_VOLUME_MUTE173VolumeMute
VK_VOLUME_DOWN174VolumeDown
VK_VOLUME_UP175VolumeUp
VK_MEDIA_NEXT_TRACK176
VK_MEDIA_PREV_TRACK177
VK_MEDIA_STOP178
VK_MEDIA_PLAY_PAUSE179
VK_LAUNCH_MAIL180
VK_LAUNCH_MEDIA_SELECT181
VK_LAUNCH_APP1182
VK_LAUNCH_APP2183
VK_OEM_1186; :
VK_OEM_PLUS187= +
VK_OEM_COMMA188
VK_OEM_MINUS189- _
VK_OEM_PERIOD190
VK_OEM_2191/ ?
VK_OEM_3192` ~
VK_OEM_4219[ {
VK_OEM_5220\ |
VK_OEM_6221] }
VK_OEM_7222' "
VK_OEM_8223
VK_OEM_102226
VK_PACKET231
VK_PROCESSKEY229
VK_ATTN246
VK_CRSEL247
VK_EXSEL248
VK_EREOF249
VK_PLAY250
VK_ZOOM251
VK_NONAME252
VK_PA1253
VK_OEM_CLEAR254


posted on 2007-12-07 22:52 万一 阅读(...) 评论(...) 编辑 收藏