当前位置:编程学习 > Delphi >>

虚拟键码表(windows)

Virtual Key Code    Corresponding key

VK_LBUTTON    Left mouse button

VK_RBUTTON    Right mouse button

VK_CANCEL    Control+Break

VK_MBUTTON    Middle mouse button

VK_BACK     Backspace key

VK_TAB      Tab key

VK_CLEAR    Clear key

VK_RETURN    Enter key

VK_SHIFT    Shift key

VK_CONTROL    Ctrl key

VK_MENU     Alt key

VK_PAUSE    Pause key

VK_CAPITAL    Caps Lock key

VK_KANA     Used with IME

VK_HANGUL    Used with IME

VK_JUNJA    Used with IME

VK_FINAL    Used with IME

VK_HANJA    Used with IME

VK_KANJI    Used with IME

VK_CONVERT    Used with IME

 

VK_NONCONVERT    Used with IME

VK_ACCEPT    Used with IME

VK_MODECHANGE    Used with IME

VK_ESCAPE    Esc key

VK_SPACE    Space bar

VK_PRIOR    Page Up key

VK_NEXT     Page Down key

VK_END      End key

VK_HOME     Home key

VK_LEFT     Left Arrow key

VK_UP       Up Arrow key

VK_RIGHT    Right Arrow key

VK_DOWN     Down Arrow key

VK_SELECT    Select key

VK_PRINT    Print key (keyboard-specific)

VK_EXECUTE    Execute key

VK_SNAPSHOT    Print Screen key

VK_INSERT    Insert key

VK_DELETE    Delete key

VK_HELP     Help key

 

VK_LWIN     Left Windows key (Microsoft keyboard)

VK_RWIN     Right Windows key (Microsoft keyboard)

VK_APPS     Applications key (Microsoft keyboard)

VK_NUMPAD0  0 key (numeric keypad)

VK_NUMPAD1  1 key (numeric keypad)

VK_NUMPAD2  2 key (numeric keypad)

VK_NUMPAD3  3 key (numeric keypad)

VK_NUMPAD4  4 key (numeric keypad)

VK_NUMPAD5  5 key (numeric keypad)

VK_NUMPAD6  6 key (numeric keypad)

VK_NUMPAD7  7 key (numeric keypad)

VK_NUMPAD8  8 key (numeric keypad)

VK_NUMPAD9  9 key (numeric keypad)

 

VK_MULTIPLY  &nb

补充:软件开发 , Delphi ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,