The IKey class contains common keyboard-related elements that can be used in more than one class.
You cannot create objects of this class, because IKey has no public constructors.
Use the KeyModifier objects to specify a combination of auxiliary keys. You can use these objects with the IAcceleratorKey class.
![]() |
public:
static const KeyModifier alt
An IKey::KeyModifier object that represents the Alt key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const KeyModifier ctrl
An IKey::KeyModifier object that represents the Ctrl key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const KeyModifier noModifier
An IKey::KeyModifier object that represents the absence of the Alt, Ctrl, and Shift keys.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const KeyModifier shift
An IKey::KeyModifier object that represents the Shift key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
IKey provides a set of VirtualKey values that you can use as virtual key codes in the IAcceleratorKey class.
![]() |
public:
static const VirtualKey kAlt
Represents the left and right Alt keys.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kAltGraf
Represents the AltGraf key.
Note:
Windows | OS/2 | AIX |
No | Yes | No |
![]() |
public:
static const VirtualKey kBackSpace
Represents the Backspace key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kBackTab
Represents the back tab key.
Note:
Windows | OS/2 | AIX |
No | Yes | No |
![]() |
public:
static const VirtualKey kBreak
Represents the Break key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kCapsLock
Represents the Caps Lock key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kCtrl
Represents the left and right Ctrl keys.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kDelete
Represents the Delete key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kDown
Represents the down arrow key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kEnd
Represents the End key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kEnter
Represents the Enter key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kEsc
Represents the Esc key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF1
Represents the F1 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF10
Represents the F10 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF11
Represents the F11 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF12
Represents the F12 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF13
Represents the F13 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF14
Represents the F14 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF15
Represents the F15 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF16
Represents the F16 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF17
Represents the F17 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF18
Represents the F18 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF19
Represents the F19 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF2
Represents the F2 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF20
Represents the F20 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF21
Represents the F21 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF22
Represents the F22 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF23
Represents the F23 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF24
Represents the F24 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF3
Represents the F3 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF4
Represents the F4 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF5
Represents the F5 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF6
Represents the F6 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF7
Represents the F7 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF8
Represents the F8 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kF9
Represents the F9 key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kHome
Represents the Home key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kInsert
Represents the Insert key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kLeft
Represents the left arrow key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kNewLine
Represents the new line key.
Note:
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kNoKey
Represents the absence of a virtual key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kNumLock
Represents the Num Lock key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kPageDown
Represents the Page Down key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kPageUp
Represents the Page Up key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kPause
Represents the Pause key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kRight
Represents the right arrow key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kScrollLock
Represents the Scroll Lock key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kShift
Represents the left and right Shift keys.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kSpace
Represents the Space bar.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kSysRq
Represents the SysRq key.
Windows | OS/2 | AIX |
No | Yes | No |
![]() |
public:
static const VirtualKey kTab
Represents the Tab key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const VirtualKey kUp
Represents the up arrow key.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
typedef unsigned long VirtualKey
This typedef helps document that the VirtualKey values provided by this class can be used as virtual key codes in the IAcceleratorKey class. The use of this typedef also allows you to use virtual key codes not provided by IKey with IAcceleratorKey.
Windows | OS/2 | AIX |
Yes | Yes | Yes |