VK Value List

Source: Internet
Author: User

Disk VK Value List
/*
* Virtual keys, standard set
*/
# Define vk_lbutton 0x01
# Define vk_rbutton 0x02
# Define vk_cancel 0x03
# Define vk_mbutton 0x04/* not contiguous with L & rbutton */

# Define vk_back 0x08
# Define vk_tab 0x09

# Define vk_clear 0x0c
# Define vk_return 0x0d

# Define vk_shift 0x10
# Define vk_control 0x11
# Define vk_menu 0x12
# Define vk_pause 0x13
# Define vk_capital 0x14

# Define vk_kana 0x15
# Define vk_hangeul 0x15/* old name-shoshould be here for compatibility */
# Define vk_hangul 0x15
# Define vk_junja 0x17
# Define vk_final 0x18
# Define vk_hanja 0x19
# Define vk_kanji 0x19

# Define vk_escape 0x1b

# Define vk_convert 0x1c
# Define vk_nonconvert 0x1d
# Define vk_accept 0x1e
# Define vk_modechange 0x1f

# Define vk_space 0x20
# Define vk_prior 0x21
# Define vk_next 0x22
# Define vk_end 0x23
# Define vk_home 0x24
# Define vk_left 0x25
# Define vk_up 0x26
# Define vk_right 0x27
# Define vk_down 0x28
# Define vk_select 0x29
# Define vk_print 0x2a
# Define vk_execute 0x2b
# Define vk_snapshot 0x2c
# Define vk_insert 0x2d

# Define vk_delete 0x2e
# Define vk_help 0x2f

/* Vk_0 thru vk_9 are the same as ASCII '0' thru '9' (0x30-0x39 )*/
/* Vk_a thru vk_z are the same as ASCII 'A' thru 'Z' (0x41-0x5a )*/

# Define vk_lwin 0x5b
# Define vk_rwin 0x5c
# Define vk_apps 0x5d

# Define vk_numpad0 0x60
# Define vk_numpad1 0x61
# Define vk_numpad2 0x62
# Define vk_numpad3 0x63
# Define vk_numpad4 0x64
# Define vk_numpad5 0x65
# Define vk_numpad6 0x66
# Define vk_numpad7 0x67
# Define vk_numpad8 0x68
# Define vk_numpad9 0x69
# Define vk_multiply 0x6a
# Define vk_add 0x6b
# Define vk_separator 0x6c
# Define vk_subtract 0x6d
# Define vk_decimal 0x6e
# Define vk_divide 0x6f
# Define vk_f1 0x70
# Define vk_f2 0x71
# Define vk_f3 0x72
# Define vk_f4 0x73
# Define vk_f5 0x74
# Define vk_f6 0x75
# Define vk_f7 0x76
# Define vk_f8 0x77
# Define vk_f9 0x78
# Define vk_f10 0x79
# Define vk_f11 0x7a
# Define vk_f12 0x7b
# Define vk_f13 0x7c
# Define vk_f14 0x7d
# Define vk_f15 0x7e
# Define vk_f16 0x7f
# Define vk_f17 0x80

# Define vk_f18 0x81

# Define vk_f19 0x82

# Define vk_f20 0x83

# Define vk_f21 0x84

# Define vk_f22 0x85

# Define vk_f23 0x86

# Define vk_f24 0x87

# Define vk_numlock 0x90

# Define vk_scroll 0x91

/*

* Vk_l * & vk_r *-left and right ALT, CTRL and shift virtual keys.

* Used only as parameters to getasynckeystate () and getkeystate ().

* No other API or message will distinguish left and right keys in this way.

*/

# Define vk_lshift 0xa0

# Define vk_rshift 0xa1

# Define vk_lcontrol 0xa2

# Define vk_rcontrol 0xa3

# Define vk_lmenu 0xa4

# Define vk_rmenu 0xa5

# If (winver> = 0x0400)

# Define vk_processkey 0xe5

# Endif/* winver> = 0x0400 */

# Define vk_attn 0xf6

# Define vk_crsel 0xf7

# Define vk_exsel 0xf8

# Define vk_ereof 0xf9

# Define vk_play 0xfa

# Define vk_zoom 0xfb

# Define vk_noname 0xfc

# Define vk_pa1 0xfd

# Define vk_oem_clear 0xfe

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.