Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "VK" in [All]

Enums

.

        TerminalServerVKPACKET = 0x20

.

    TerminalServerVKPACKET = &H20

.
Summary
An enumeration which maps to the various VK_* constants.
.

    VK_LBUTTON = &H1        ' // [LButton] = 001

.

    VK_RBUTTON = &H2        ' // [RButton] = 002

.

    VK_CANCEL = &H3         ' // [Cancel] = 003

.

    VK_MBUTTON = &H4        ' // [MButton] = 004    ' NOT contiguous with L & RBUTTON

.

    VK_XBUTTON1 = &H5       ' // [XButton1] = 005   ' NOT contiguous with L & RBUTTON

.

    VK_XBUTTON2 = &H6       ' // [XButton2] = 006   ' NOT contiguous with L & RBUTTON

.

    VK_BACK = &H8           ' // [Back] = 008

.

    VK_TAB = &H9        ' // [Tab] = 009

.

    VK_CLEAR = &HC          ' // [Clear] = 012

.

    VK_RETURN = &HD         ' // [Return] = 013

.

    VK_SHIFT = &H10         ' // [ShiftKey] = 016

.

    VK_CONTROL = &H11       ' // [ControlKey] = 017

.

    VK_MENU = &H12          ' // [Menu] = 018

.

    VK_PAUSE = &H13         ' // [Pause] = 019

.

    VK_CAPITAL = &H14       ' // [Capital] = 020

.

    VK_HANGUL = &H15        ' // [HangulMode] = 021

.

    VK_HANGEUL = &H15       ' // [HanguelMode] = 021 ' old name (compatibility)

.

    VK_KANA = &H15          ' // [KanaMode] = 021

.

    VK_JUNJA = &H17         ' // [JunjaMode] = 023

.

    VK_FINAL = &H18         ' // [FinalMode] = 024

.

    VK_KANJI = &H19         ' // [KanjiMode] = 025

.

    VK_HANJA = &H19         ' // [HanjaMode] = 025

.

    VK_ESCAPE = &H1B        ' // [Escape] = 027

.

    VK_CONVERT = &H1C       ' // [IMEConvert] = 028

.

    VK_NONCONVERT = &H1D    ' // [IMENonconvert] = 029

.

    VK_ACCEPT = &H1E        ' // [IMEAccept] = 030

.

    VK_MODECHANGE = &H1F    ' // [IMEModeChange] = 031

.

    VK_SPACE = &H20         ' // [Space] = 032

.

    VK_PRIOR = &H21         ' // [Prior] = 033

.

    VK_NEXT = &H22          ' // [Next] = 034

.

    VK_END = &H23           ' // [End] = 035

.

    VK_HOME = &H24          ' // [Home] = 036

.

    VK_LEFT = &H25          ' // [Left] = 037

.

    VK_UP = &H26        ' // [Up] = 038

.

    VK_RIGHT = &H27         ' // [Right] = 039

.

    VK_DOWN = &H28          ' // [Down] = 040

.

    VK_SELECT = &H29        ' // [Select] = 041

.

    VK_PRINT = &H2A         ' // [Print] = 042

.

    VK_EXECUTE = &H2B       ' // [Execute] = 043

.

    VK_SNAPSHOT = &H2C      ' // [Snapshot] = 044

.

    VK_INSERT = &H2D        ' // [Insert] = 045

.

    VK_DELETE = &H2E        ' // [Delete] = 046

.

    VK_HELP = &H2F          ' // [Help] = 047

.

    VK_0 = &H30         ' // [D0] = 048

.

    VK_1 = &H31         ' // [D1] = 049

.

    VK_2 = &H32         ' // [D2] = 050

.

    VK_3 = &H33         ' // [D3] = 051

.

    VK_4 = &H34         ' // [D4] = 052

.

    VK_5 = &H35         ' // [D5] = 053

.

    VK_6 = &H36         ' // [D6] = 054

.

    VK_7 = &H37         ' // [D7] = 055

.

    VK_8 = &H38         ' // [D8] = 056

.

    VK_9 = &H39         ' // [D9] = 057

.

    VK_A = &H41         ' // [A] = 065

.

    VK_B = &H42         ' // [B] = 066

.

    VK_C = &H43         ' // [C] = 067

.

    VK_D = &H44         ' // [D] = 068

.

    VK_E = &H45         ' // [E] = 069

.

    VK_F = &H46         ' // [F] = 070

.

    VK_G = &H47         ' // [G] = 071

.

    VK_H = &H48         ' // [H] = 072

.

    VK_I = &H49         ' // [I] = 073

.

    VK_J = &H4A         ' // [J] = 074

.

    VK_K = &H4B         ' // [K] = 075

.

    VK_L = &H4C         ' // [L] = 076

.

    VK_M = &H4D         ' // [M] = 077

.

    VK_N = &H4E         ' // [N] = 078

.

    VK_O = &H4F         ' // [O] = 079

.

    VK_P = &H50         ' // [P] = 080

.

    VK_Q = &H51         ' // [Q] = 081

.

    VK_R = &H52         ' // [R] = 082

.

    VK_S = &H53         ' // [S] = 083

.

    VK_T = &H54         ' // [T] = 084

.

    VK_U = &H55         ' // [U] = 085

.

    VK_V = &H56         ' // [V] = 086

.

    VK_W = &H57         ' // [W] = 087

.

    VK_X = &H58         ' // [X] = 088

.

    VK_Y = &H59         ' // [Y] = 089

.

    VK_Z = &H5A         ' // [Z] = 090

.

    VK_LWIN = &H5B          ' // [LWin] = 091

.

    VK_RWIN = &H5C          ' // [RWin] = 092

.

    VK_APPS = &H5D          ' // [Apps] = 093

.

    VK_SLEEP = &H5F         ' // [Sleep] = 095

.

    VK_NUMPAD0 = &H60       ' // [NumPad0] = 096

.

    VK_NUMPAD1 = &H61       ' // [NumPad1] = 097

.

    VK_NUMPAD2 = &H62       ' // [NumPad2] = 098

.

    VK_NUMPAD3 = &H63       ' // [NumPad3] = 099

.

    VK_NUMPAD4 = &H64       ' // [NumPad4] = 100

.

    VK_NUMPAD5 = &H65       ' // [NumPad5] = 101

.

    VK_NUMPAD6 = &H66       ' // [NumPad6] = 102

.

    VK_NUMPAD7 = &H67       ' // [NumPad7] = 103

.

    VK_NUMPAD8 = &H68       ' // [NumPad8] = 104

.

    VK_NUMPAD9 = &H69       ' // [NumPad9] = 105

.

    VK_MULTIPLY = &H6A      ' // [Multiply] = 106

.

    VK_ADD = &H6B           ' // [Add] = 107

.

    VK_SEPARATOR = &H6C     ' // [Separator] = 108

.

    VK_SUBTRACT = &H6D      ' // [Subtract] = 109

.

    VK_DECIMAL = &H6E       ' // [Decimal] = 110

.

    VK_DIVIDE = &H6F        ' // [Divide] = 111

.

    VK_F1 = &H70        ' // [F1] = 112

.

    VK_F2 = &H71        ' // [F2] = 113

.

    VK_F3 = &H72        ' // [F3] = 114

.

    VK_F4 = &H73        ' // [F4] = 115

.

    VK_F5 = &H74        ' // [F5] = 116

.

    VK_F6 = &H75        ' // [F6] = 117

.

    VK_F7 = &H76        ' // [F7] = 118

.

    VK_F8 = &H77        ' // [F8] = 119

.

    VK_F9 = &H78        ' // [F9] = 120

.

    VK_F10 = &H79           ' // [F10] = 121

.

    VK_F11 = &H7A           ' // [F11] = 122

.

    VK_F12 = &H7B           ' // [F12] = 123

.

    VK_F13 = &H7C           ' // [F13] = 124

.

    VK_F14 = &H7D           ' // [F14] = 125

.

    VK_F15 = &H7E           ' // [F15] = 126

.

    VK_F16 = &H7F           ' // [F16] = 127

.

    VK_F17 = &H80           ' // [F17] = 128

.

    VK_F18 = &H81           ' // [F18] = 129

.

    VK_F19 = &H82           ' // [F19] = 130

.

    VK_F20 = &H83           ' // [F20] = 131

.

    VK_F21 = &H84           ' // [F21] = 132

.

    VK_F22 = &H85           ' // [F22] = 133

.

    VK_F23 = &H86           ' // [F23] = 134

.

    VK_F24 = &H87           ' // [F24] = 135

.

    VK_NUMLOCK = &H90       ' // [NumLock] = 144

.

    VK_SCROLL = &H91        ' // [Scroll] = 145

.

    VK_OEM_NEC_EQUAL = &H92     ' // [NEC_Equal] = 146    ' NEC PC-9800 kbd definitions "=" key on numpad

.

    VK_OEM_FJ_JISHO = &H92      ' // [Fujitsu_Masshou] = 146    ' Fujitsu/OASYS kbd definitions "Dictionary" key

.

    VK_OEM_FJ_MASSHOU = &H93    ' // [Fujitsu_Masshou] = 147    ' Fujitsu/OASYS kbd definitions "Unregister word" key

.

    VK_OEM_FJ_TOUROKU = &H94    ' // [Fujitsu_Touroku] = 148    ' Fujitsu/OASYS kbd definitions "Register word" key  

.

    VK_OEM_FJ_LOYA = &H95       ' // [Fujitsu_Loya] = 149    ' Fujitsu/OASYS kbd definitions "Left OYAYUBI" key

.

    VK_OEM_FJ_ROYA = &H96       ' // [Fujitsu_Roya] = 150    ' Fujitsu/OASYS kbd definitions "Right OYAYUBI" key

.

    VK_LSHIFT = &HA0        ' // [LShiftKey] = 160

.

    VK_RSHIFT = &HA1        ' // [RShiftKey] = 161

.

    VK_LCONTROL = &HA2      ' // [LControlKey] = 162

.

    VK_RCONTROL = &HA3      ' // [RControlKey] = 163

.

    VK_LMENU = &HA4         ' // [LMenu] = 164

.

    VK_RMENU = &HA5         ' // [RMenu] = 165

.

    VK_BROWSER_BACK = &HA6      ' // [BrowserBack] = 166

.

    VK_BROWSER_FORWARD = &HA7   ' // [BrowserForward] = 167

.

    VK_BROWSER_REFRESH = &HA8   ' // [BrowserRefresh] = 168

.

    VK_BROWSER_STOP = &HA9      ' // [BrowserStop] = 169

.

    VK_BROWSER_SEARCH = &HAA    ' // [BrowserSearch] = 170

.

    VK_BROWSER_FAVORITES = &HAB ' // [BrowserFavorites] = 171

.

    VK_BROWSER_HOME = &HAC      ' // [BrowserHome] = 172

.

    VK_VOLUME_MUTE = &HAD       ' // [VolumeMute] = 173

.

    VK_VOLUME_DOWN = &HAE       ' // [VolumeDown] = 174

.

    VK_VOLUME_UP = &HAF     ' // [VolumeUp] = 175

.

    VK_MEDIA_NEXT_TRACK = &HB0  ' // [MediaNextTrack] = 176

.

    VK_MEDIA_PREV_TRACK = &HB1  ' // [MediaPreviousTrack] = 177

.

    VK_MEDIA_STOP = &HB2    ' // [MediaStop] = 178

.

    VK_MEDIA_PLAY_PAUSE = &HB3  ' // [MediaPlayPause] = 179

.

    VK_LAUNCH_MAIL = &HB4       ' // [LaunchMail] = 180

.

    VK_LAUNCH_MEDIA_SELECT = &HB5 ' // [SelectMedia] = 181

.

    VK_LAUNCH_APP1 = &HB6       ' // [LaunchApplication1] = 182

.

    VK_LAUNCH_APP2 = &HB7       ' // [LaunchApplication2] = 183

.

    VK_OEM_1 = &HBA         ' // [Oem1] = 186           ' ";:" for USA

.

    VK_OEM_PLUS = &HBB      ' // [Oemplus] = 187        ' "+" any country

.

    VK_OEM_COMMA = &HBC     ' // [Oemcomma] = 188       ' "," any country

.

    VK_OEM_MINUS = &HBD     ' // [OemMinus] = 189       ' "-" any country

.

    VK_OEM_PERIOD = &HBE    ' // [OemPeriod] = 190      ' "." any country

.

    VK_OEM_2 = &HBF         ' // [Oem2] = 191           ' "/?" for USA

.

    VK_OEM_3 = &HC0         ' // [Oem3] = 192           ' "'~" for USA

.

    VK_OEM_4 = &HDB         ' // [Oem4] = 219           ' "[{" for USA

.

    VK_OEM_5 = &HDC         ' // [Oem5] = 220           ' "\|" for USA

.

    VK_OEM_6 = &HDD         ' // [Oem6] = 221           ' "]}" for USA

.

    VK_OEM_7 = &HDE         ' // [Oem7] = 222           ' "'"" for USA

.

    VK_OEM_8 = &HDF         ' // [Oem8] = 223

.

    VK_OEM_AX = &HE1        ' // [OEMAX] = 225          ' "AX" key on Japanese AX kbd

.

    VK_OEM_102 = &HE2       ' // [Oem102] = 226         ' "<>" or "\|" on RT 102-key kbd

.

    VK_ICO_HELP = &HE3      ' // [ICOHelp] = 227        ' Help key on ICO

.

    VK_ICO_00 = &HE4        ' // [ICO00] = 228          ' 00 key on ICO

.

    VK_PROCESSKEY = &HE5    ' // [ProcessKey] = 229

.

    VK_ICO_CLEAR = &HE6     ' // [ICOClear] = 230

.

    VK_PACKET = &HE7        ' // [Packet] = 231

.

    VK_OEM_RESET = &HE9     ' // [OEMReset] = 233

.

    VK_OEM_JUMP = &HEA      ' // [OEMJump] = 234

.

    VK_OEM_PA1 = &HEB       ' // [OEMPA1] = 235

.

    VK_OEM_PA2 = &HEC       ' // [OEMPA2] = 236

.

    VK_OEM_PA3 = &HED       ' // [OEMPA3] = 237

.

    VK_OEM_WSCTRL = &HEE    ' // [OEMWSCtrl] = 238

.

    VK_OEM_CUSEL = &HEF     ' // [OEMCUSel] = 239

.

    VK_OEM_ATTN = &HF0      ' // [OEMATTN] = 240

.

    VK_OEM_FINISH = &HF1    ' // [OEMFinish] = 241

.

    VK_OEM_COPY = &HF2      ' // [OEMCopy] = 242

.

    VK_OEM_AUTO = &HF3      ' // [OEMAuto] = 243

.

    VK_OEM_ENLW = &HF4      ' // [OEMENLW] = 244

.

    VK_OEM_BACKTAB = &HF5       ' // [OEMBackTab] = 245

.

    VK_ATTN = &HF6          ' // [Attn] = 246

.

    VK_CRSEL = &HF7         ' // [Crsel] = 247

.

    VK_EXSEL = &HF8         ' // [Exsel] = 248

.

    VK_EREOF = &HF9         ' // [EraseEof] = 249

.

    VK_PLAY = &HFA          ' // [Play] = 250

.

    VK_ZOOM = &HFB          ' // [Zoom] = 251

.

    VK_NONAME = &HFC        ' // [NoName] = 252

.

    VK_PA1 = &HFD           ' // [Pa1] = 253

.

    VK_OEM_CLEAR = &HFE     ' // [OemClear] = 254

3: VK
.

       enum VK : int

.

        ///Windows 2000/XP: Used to pass Unicode characters as if they were keystrokes. The VK_PACKET key is the low word of a 32-bit Virtual Key value used for non-keyboard input methods. For more information, see Remark in KEYBDINPUT, SendInput, WM_KEYDOWN, and WM_KEYUP

.

Enum VK

.
Documentation
[VK] on MSDN
.

    VKEYTOITEM = 0x002E,

.

    WM_VKEYTOITEM = &H2E

user32

.

public static extern short GetAsyncKeyState(int vKey);

.

const int VK_PRINT = 0x2A;

.

const int VK_LWIN = 0x5B;

.

if(GetAsyncKeyState(VK_LWIN) != 0)

.

if((GetAsyncKeyState(VK_PRINT) & 1) == 1)

.

public static extern bool GetAsyncKeyState(int vKey);

.

                VK_LBUTTON = 0x01,

.

                VK_RBUTTON = 0x02,

.

                VK_CANCEL = 0x03,

.

                VK_MBUTTON = 0x04,

.

                VK_XBUTTON1 = 0x05,

.

                VK_XBUTTON2 = 0x06,

.

                VK_BACK = 0x08,

.

                VK_TAB = 0x09,

.

                VK_CLEAR = 0x0C,

.

                VK_RETURN = 0x0D,

.

                VK_SHIFT = 0x10,

.

                VK_CONTROL = 0x11,

.

                VK_MENU = 0x12,

.

                VK_PAUSE = 0x13,

.

                VK_CAPITAL = 0x14,

.

                VK_KANA = 0x15,

.

                VK_HANGEUL = 0x15, /* old name - should be here for compatibility */

.

                VK_HANGUL = 0x15,

.

                VK_JUNJA = 0x17,

.

                VK_FINAL = 0x18,

.

                VK_HANJA = 0x19,

.

                VK_KANJI = 0x19,

.

                VK_ESCAPE = 0x1B,

.

                VK_CONVERT = 0x1C,

.

                VK_NONCONVERT = 0x1D,

.

                VK_ACCEPT = 0x1E,

.

                VK_MODECHANGE = 0x1F,

.

                VK_SPACE = 0x20,

.

                VK_PRIOR = 0x21,

.

                VK_NEXT = 0x22,

.

                VK_END = 0x23,

.

                VK_HOME = 0x24,

.

                VK_LEFT = 0x25,

.

                VK_UP = 0x26,

.

                VK_RIGHT = 0x27,

.

                VK_DOWN = 0x28,

.

                VK_SELECT = 0x29,

.

                VK_PRINT = 0x2A,

.

                VK_EXECUTE = 0x2B,

.

                VK_SNAPSHOT = 0x2C,

.

                VK_INSERT = 0x2D,

.

                VK_DELETE = 0x2E,

.

                VK_HELP = 0x2F,

.

                VK_LWIN = 0x5B,

.

                VK_RWIN = 0x5C,

.

                VK_APPS = 0x5D,

.

                VK_SLEEP = 0x5F,

.

                VK_NUMPAD0 = 0x60,

.

                VK_NUMPAD1 = 0x61,

.

                VK_NUMPAD2 = 0x62,

.

                VK_NUMPAD3 = 0x63,

.

                VK_NUMPAD4 = 0x64,

.

                VK_NUMPAD5 = 0x65,

.

                VK_NUMPAD6 = 0x66,

.

                VK_NUMPAD7 = 0x67,

.

                VK_NUMPAD8 = 0x68,

.

                VK_NUMPAD9 = 0x69,

.

                VK_MULTIPLY = 0x6A,

.

                VK_ADD = 0x6B,

.

                VK_SEPARATOR = 0x6C,

.

                VK_SUBTRACT = 0x6D,

.

                VK_DECIMAL = 0x6E,

.

                VK_DIVIDE = 0x6F,

.

                VK_F1 = 0x70,

.

                VK_F2 = 0x71,

.

                VK_F3 = 0x72,

.

                VK_F4 = 0x73,

.

                VK_F5 = 0x74,

.

                VK_F6 = 0x75,

.

                VK_F7 = 0x76,

.

                VK_F8 = 0x77,

.

                VK_F9 = 0x78,

.

                VK_F10 = 0x79,

.

                VK_F11 = 0x7A,

.

                VK_F12 = 0x7B,

.

                VK_F13 = 0x7C,

.

                VK_F14 = 0x7D,

.

                VK_F15 = 0x7E,

.

                VK_F16 = 0x7F,

.

                VK_F17 = 0x80,

.

                VK_F18 = 0x81,

.

                VK_F19 = 0x82,

.

                VK_F20 = 0x83,

.

                VK_F21 = 0x84,