Programming with Reflection

image\rwnprg32.gif Key Names

 

The following key names can be used for the Key argument with methods such as GetKeyMapCommands and SetKeyMap.

Notes

To determine which key name identifies a particular key on the PC keyboard, open the Reflection Keyboard Map Setup dialog box. Click a keyboard key once to see it's current mapping. Click again and hold to see the key name displayed at the bottom of the dialog box.

Main Keyboard Area

Esc

A, B, C, etc.

Apostrophe

BackSlash

Backspace

Break

BS

CapsLock

Center

CloseBracket

Comma

Compose

CR

Dash

Delete

Do

Equals

Escape

NumLock

OpenBracket

Period

PrintScreen

ScrollLock

Semicolon

Slash

Space

Tab

Up

Function Keys

F1

F2

F3

F4

F5

F6

F7

F8

F9

F10

F11

F12

F13

F14

F15

F16

F17

F18

F19

F20

 

Cursor Control Pad Keys

CpDel

CpDelete

CpDown

CpEnd

CpHome

CpIns

CpInsert

CpLeft

CpPageDown

CpPageUp

CpPgDn

CpPgUp

CpRight

CpUp

 

Numeric Control Pad Keys

CpEnter

Del

Kp0

Kp1

Kp2

Kp3

Kp4

Kp5

Kp6

Kp7

Kp8

Kp9

KPCenter

KpComma

KpDecimal

KpDivide

KpEnter

KpMinus

KpMultiply

KpPlus