Share via


Predefined Accelerator Keys

There are a number of predefined accelerator keys that may be part of a windows application project. Some of these virtual keys are for the Windows 2000 environment. Other support browsers or Unicode applications. You may use any of these keys in any accelerator.

Key

Description

VK_ACCEPT

IME accept

VK_BROWSER_BACK

Windows 2000: Browser Back key

VK_BROWSER_FAVORITES

Windows 2000: Browser Favorites key

VK_BROWSER_FORWARD

Windows 2000: Browser Forward key

VK_BROWSER_HOME

Windows 2000: Browser Start and Home key

VK_BROWSER_REFRESH

Windows 2000: Browser Refresh key

VK_BROWSER_SEARCH

Windows 2000: Browser Search key

VK_BROWSER_STOP

Windows 2000: Browser Stop key

VK_CONVERT

IME convert

VK_FINAL

IME final mode

VK_HANGUEL

IME Hanguel mode (maintained for compatibility; use VK_HANGUL)

VK_HANGUL

IME Hangul mode

VK_HANJA

IME Hanja mode

VK_JUNJA

IME Junja mode

VK_KANA

IME Kana mode

VK_KANJI

IME Kanji mode

VK_LAUNCH_APP1

Windows 2000: Start Application 1 key

VK_LAUNCH_APP2

Windows 2000: Start Application 2 key

VK_LAUNCH_MAIL

Windows 2000: Start Mail key

VK_LAUNCH_MEDIA_SELECT

Windows 2000: Select Media key

VK_LCONTROL

Left CONTROL key

VK_LMENU

Left MENU key

VK_LSHIFT

Left SHIFT key

VK_MEDIA_NEXT_TRACK

Windows 2000: Next Track key

VK_MEDIA_PLAY_PAUSE

Windows 2000: Play/Pause Media key

VK_MEDIA_PREV_TRACK

Windows 2000: Previous Track key

VK_MEDIA_STOP

Windows 2000: Stop Media key

VK_MODECHANGE

IME mode change request

VK_NONCONVERT

IME nonconvert

VK_OEM_1

Windows 2000: For the US standard keyboard, the ';:' key

VK_OEM_102

Windows 2000: Either the angle bracket key or the backslash key on the RT 102-key keyboard

VK_OEM_2

Windows 2000: For the US standard keyboard, the '/?' key

VK_OEM_3

Windows 2000: For the US standard keyboard, the '`~' key

VK_OEM_4

Windows 2000: For the US standard keyboard, the '[{' key

VK_OEM_5

Windows 2000: For the US standard keyboard, the '\|' key

VK_OEM_6

Windows 2000: For the US standard keyboard, the ']}' key

VK_OEM_7

Windows 2000: For the US standard keyboard, the 'single-quote/double-quote' key

VK_OEM_COMMA

Windows 2000: For any country/region, the ',' key

VK_OEM_MINUS

Windows 2000: For any country/region, the '-' key

VK_OEM_PERIOD

Windows 2000: For any country/region, the '.' key

VK_OEM_PLUS

Windows 2000: For any country/region, the '+' key

VK_PACKET

Windows 2000: Used to pass Unicode characters as if they were keystrokes.

VK_RCONTROL

Right CONTROL key

VK_RMENU

Right MENU key

VK_RSHIFT

Right SHIFT key

VK_SLEEP

Computer Sleep key

VK_VOLUME_DOWN

Windows 2000: Volume Down key

VK_VOLUME_MUTE

Windows 2000: Volume Mute key

VK_VOLUME_UP

Windows 2000: Volume Up key

VK_XBUTTON1

Windows 2000: X1 mouse button

VK_XBUTTON2

Windows 2000: X2 mouse button

For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Using Resources for Localization with ASP.NET.

Requirements

Win32

See Also

Reference

Accelerator Editor

Resource Editors