注册 登录
Office中国论坛/Access中国论坛 返回首页

的个人空间 http://www.office-cn.net/?0 [收藏] [复制] [分享] [RSS]

日志

虚拟键码常量参数

已有 810 次阅读2008-3-25 22:28 |个人分类:API

'GetAsyncKeyState vKey 参数
Private Const VK_LBUTTON = &H1 '鼠标左键
Private Const VK_RBUTTON = &H2 '鼠标右键
Private Const VK_MBUTTON = &H4 '鼠标中键
Private Const VK_BACK = &H8    'Backspace
Private Const VK_TAB = &H9     'Tab
Private Const VK_CLEAR = &HC   'Num Lock关闭时的数字键盘5
Private Const VK_RETURN = &HD  'Enter
Private Const VK_SHIFT = &H10  'Shift
Private Const VK_CONTROL = &H11 'Ctrl
Private Const VK_MENU = &H12    'Alt
Private Const VK_PAUSE = &H13   'Pause
Private Const VK_CAPITAL = &H14 'Caps Lock
Private Const VK_ESCAPE = &H1B  'Escape
Private Const VK_SPACE = &H20   'Space
Private Const VK_PRIOR = &H21   'PageUp
Private Const VK_NEXT = &H22    'PageDown
Private Const VK_END = &H23     'Ende
Private Const VK_HOME = &H24    'Home
Private Const VK_LEFT = &H25    'Left Arrow
Private Const VK_UP = &H26      'Up Arrow
Private Const VK_RIGHT = &H27   'Right Arrow
Private Const VK_DOWN = &H28    'Down Arrow
Private Const VK_PRINT = &H2A   'Print
Private Const VK_SNAPSHOT = &H2C 'Print Screen
Private Const VK_INSERT = &H2D   'Insert
Private Const VK_DELETE = &H2E   'Delete
Private Const VK_HELP = &H2F     'Help
Private Const VK_0 = &H30 'Key 0
Private Const VK_1 = &H31 'Key 1
Private Const VK_2 = &H32 'Key 2
Private Const VK_3 = &H33 'Key 3
Private Const VK_4 = &H34 'Key 4
Private Const VK_5 = &H35 'Key 5
Private Const VK_6 = &H36 'Key 6
Private Const VK_7 = &H37 'Key 7
Private Const VK_8 = &H38 'Key 8
Private Const VK_9 = &H39 'Key 9
Private Const VK_A = &H41 'Key A
Private Const VK_B = &H42 'Key B
Private Const VK_C = &H43 'Key C
Private Const VK_D = &H44 'Key D
Private Const VK_E = &H45 'Key E
Private Const VK_F = &H46 'Key F
Private Const VK_G = &H47 'Key G
Private Const VK_H = &H48 'Key H
Private Const VK_I = &H49 'Key I
Private Const VK_J = &H4A 'Key J
Private Const VK_K = &H4B 'Key K
Private Const VK_L = &H4C 'Key L
Private Const VK_M = &H4D 'Key M
Private Const VK_N = &H4E 'Key N
Private Const VK_O = &H4F 'Key O
Private Const VK_P = &H50 'Key P
Private Const VK_Q = &H51 'Key Q
Private Const VK_R = &H52 'Key R
Private Const VK_S = &H53 'Key S
Private Const VK_T = &H54 'Key T
Private Const VK_U = &H55 'Key U
Private Const VK_V = &H56 'Key V
Private Const VK_W = &H57 'Key W
Private Const VK_X = &H58 'Key X
Private Const VK_Y = &H59 'Key Y
Private Const VK_Z = &H5A 'Key Z
Private Const VK_STARTKEY = &H5B 'Startmenütaste
Private Const VK_CONTEXTKEY = &H5D 'Kentextmenü
Private Const VK_NUMPAD0 = &H60  '0 key (numeric keypad)
Private Const VK_NUMPAD1 = &H61  '1 key (numeric keypad)
Private Const VK_NUMPAD2 = &H62  '2 key (numeric keypad)
Private Const VK_NUMPAD3 = &H63  '3 key (numeric keypad)
Private Const VK_NUMPAD4 = &H64  '4 key (numeric keypad)
Private Const VK_NUMPAD5 = &H65  '5 key (numeric keypad)
Private Const VK_NUMPAD6 = &H66  '6 key (numeric keypad)
Private Const VK_NUMPAD7 = &H67  '7 key (numeric keypad)
Private Const VK_NUMPAD8 = &H68  '8 key (numeric keypad)
Private Const VK_NUMPAD9 = &H69  '9 key (numeric keypad)
Private Const VK_MULTIPLY = &H6A 'Multiply key (numeric keypad)
Private Const VK_ADD = &H6B      'Add key (numeric keypad) (+)
Private Const VK_SEPARATOR = &H6C  'Separator key (numeric keypad)(*)
Private Const VK_SUBTRACT = &H6D 'Subtract key (numeric keypad) (-)
Private Const VK_DECIMAL = &H6E  'Decimal key (numeric keypad) (,)
Private Const VK_DIVIDE = &H6F   'Divide key (numeric keypad)(/)
Private Const VK_F1 = &H70 'F1 Key
Private Const VK_F2 = &H71 'F2 Key
Private Const VK_F3 = &H72 'F3 Key
Private Const VK_F4 = &H73 'F4 Key
Private Const VK_F5 = &H74 'F5 Key
Private Const VK_F6 = &H75 'F6 Key
Private Const VK_F7 = &H76 'F7 Key
Private Const VK_F8 = &H77 'F8 Key
Private Const VK_F9 = &H78 'F9 Key
Private Const VK_F10 = &H79 'F10 Key
Private Const VK_F11 = &H7A 'F11 Key
Private Const VK_F12 = &H7B 'F12 Key
Private Const VK_F13 = &H7C 'F13 Key
Private Const VK_F14 = &H7D 'F14 Key
Private Const VK_F15 = &H7E 'F15 Key
Private Const VK_F16 = &H7F 'F16 Key
Private Const VK_F17 = &H80 'F17 Key
Private Const VK_F18 = &H81 'F18 Key
Private Const VK_F19 = &H82 'F19 Key
Private Const VK_F20 = &H83 'F20 Key
Private Const VK_F21 = &H84 'F21 Key
Private Const VK_F22 = &H85 'F22 Key
Private Const VK_F23 = &H86 'F23 Key
Private Const VK_F24 = &H87 'F24 Key
Private Const VK_NUMLOCK = &H90 'Numlock Key
Private Const VK_OEM_SCROLL = &H91 'Scroll Lock
Private Const VK_LSHIFT = &HA0 'Left Shift-Key
Private Const VK_RSHIFT = &HA1 'Right Shift-Key
Private Const VK_LCONTROL = &HA2 'Left Ctrl-Key
Private Const VK_RCONTROL = &HA3 'Right Ctrl-Key
Private Const VK_LMENU = &HA4 'Left ALT-Key
Private Const VK_RMENU = &HA5 'Right ALT-Key
Private Const VK_OEM_1 = &HBA '";"-Key
Private Const VK_OEM_PLUS = &HBB '"
Private Const VK_OEM_COMMA = &HBC '","-Key
Private Const VK_OEM_MINUS = &HBD '"-"-Key
Private Const VK_OEM_PERIOD = &HBE '"."-Key
Private Const VK_OEM_2 = &HBF '"/"-Key
Private Const VK_OEM_3 = &HC0 '"`"-Key
Private Const VK_OEM_4 = &HDB '"["-Key
Private Const VK_OEM_5 = &HDC '"\"-Key
Private Const VK_OEM_6 = &HDD '"]"-Key
Private Const VK_OEM_7 = &HDE '"
Private Const VK_ICO_F17 = &HE0 'F17 einer Olivette Tastatur (Intern)
Private Const VK_ICO_F18 = &HE1 'F18 einer Olivette Tastatur (Intern)
Private Const VK_OEM102 = &HE2 '"<"-Key oder "|"-Key einer IBM-Kompatiblen 102 Tastatur (Nicht US)
Private Const VK_ICO_HELP = &HE3 'HilfeKey einer Olivetti Tastatur (Intern)
Private Const VK_ICO_00 = &HE4 '00-Key einer Olivetti Tastatur (Intern)
Private Const VK_ICO_CLEAR = &HE6 'L?schen Key einer Olivetti Tastatur (Intern)
Private Const VK_OEM_RESET = &HE9 'Reset Key (Nokia)
Private Const VK_OEM_JUMP = &HEA 'Springen Key (Nokia)
Private Const VK_OEM_PA1 = &HEB 'PA1 Key (Nokia)
Private Const VK_OEM_PA2 = &HEC 'PA2 Key (Nokia)
Private Const VK_OEM_PA3 = &HED 'PA3 Key (Nokia)
Private Const VK_OEM_WSCTRL = &HEE 'WSCTRL Key (Nokia)
Private Const VK_OEM_CUSEL = &HEF 'WSCTRL Key (Nokia)
Private Const VK_OEM_ATTN = &HF0 'ATTN Key (Nokia)
Private Const VK_OEM_FINNISH = &HF1 'FINNISH Key (Nokia)
Private Const VK_OEM_COPY = &HF2 'Kopieren Key (Nokia)
Private Const VK_OEM_AUTO = &HF3 'Auto Key (Nokia)
Private Const VK_OEM_ENLW = &HF4 'ENLW Key (Nokia)
Private Const VK_OEM_BACKTAB = &HF5 'BackTab Key (Nokia)
Private Const VK_ATTN = &HF6 'ATTN
Private Const VK_CRSEL = &HF7 'CRSEL
Private Const VK_EXSEL = &HF8 'EXSEL
Private Const VK_EREOF = &HF9 'Erase EOF
Private Const VK_PLAY = &HFA 'PLAY
Private Const VK_ZOOM = &HFB 'ZOOM
Private Const VK_NONAME = &HFC ' Reserved for future use
Private Const VK_PA1 = &HFD 'PA1
Private Const VK_OEM_CLEAR = &HFE 'Clear

 

发表评论 评论 (2 个评论)

回复 rcylbx 2008-7-11 19:29
ddddd
回复 rcylbx 2008-7-11 19:30
:handshake :handshake :handshake

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-11-25 05:43 , Processed in 0.066181 second(s), 15 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

返回顶部