### IKey

  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.

### IKey - Member Functions and Data by Group

### Key Modifiers

Use the KeyModifier objects to specify a combination of auxiliary keys. You can use these objects with the IAcceleratorKey class.

alt

      public:
      static const KeyModifier alt

  An IKey::KeyModifier object that represents the Alt key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

ctrl

      public:
      static const KeyModifier ctrl

  An IKey::KeyModifier object that represents the Ctrl key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

noModifier

      public:
      static const KeyModifier noModifier

  An IKey::KeyModifier object that represents the absence of the Alt, Ctrl, and Shift keys.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

shift

      public:
      static const KeyModifier shift

  An IKey::KeyModifier object that represents the Shift key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Virtual Keys

IKey provides a set of VirtualKey values that you can use as virtual key codes in the IAcceleratorKey class.

kAlt

      public:
      static const VirtualKey kAlt

  Represents the left and right Alt keys.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kAltGraf

      public:
      static const VirtualKey kAltGraf

  Represents the AltGraf key.
  Note: This key is not available on all keyboards.

Supported Platforms

  Windows | OS/2 | AIX
  No | Yes | No

kBackSpace

      public:
      static const VirtualKey kBackSpace

  Represents the Backspace key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kBackTab

      public:
      static const VirtualKey kBackTab

  Represents the back tab key.
  Note: This is equivalent to the Tab key with the Shift modifier.

Supported Platforms

  Windows | OS/2 | AIX
  No | Yes | No

kBreak

      public:
      static const VirtualKey kBreak

  Represents the Break key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kCapsLock

      public:
      static const VirtualKey kCapsLock

  Represents the Caps Lock key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kCtrl

      public:
      static const VirtualKey kCtrl

  Represents the left and right Ctrl keys.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kDelete

      public:
      static const VirtualKey kDelete

  Represents the Delete key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kDown

      public:
      static const VirtualKey kDown

  Represents the down arrow key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kEnd

      public:
      static const VirtualKey kEnd

  Represents the End key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kEnter

      public:
      static const VirtualKey kEnter

  Represents the Enter key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kEsc

      public:
      static const VirtualKey kEsc

  Represents the Esc key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF1

      public:
      static const VirtualKey kF1

  Represents the F1 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF10

      public:
      static const VirtualKey kF10

  Represents the F10 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF11

      public:
      static const VirtualKey kF11

  Represents the F11 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF12

      public:
      static const VirtualKey kF12

  Represents the F12 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF13

      public:
      static const VirtualKey kF13

  Represents the F13 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF14

      public:
      static const VirtualKey kF14

  Represents the F14 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF15

      public:
      static const VirtualKey kF15

  Represents the F15 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF16

      public:
      static const VirtualKey kF16

  Represents the F16 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF17

      public:
      static const VirtualKey kF17

  Represents the F17 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF18

      public:
      static const VirtualKey kF18

  Represents the F18 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF19

      public:
      static const VirtualKey kF19

  Represents the F19 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF2

      public:
      static const VirtualKey kF2

  Represents the F2 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF20

      public:
      static const VirtualKey kF20

  Represents the F20 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF21

      public:
      static const VirtualKey kF21

  Represents the F21 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF22

      public:
      static const VirtualKey kF22

  Represents the F22 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF23

      public:
      static const VirtualKey kF23

  Represents the F23 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF24

      public:
      static const VirtualKey kF24

  Represents the F24 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF3

      public:
      static const VirtualKey kF3

  Represents the F3 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF4

      public:
      static const VirtualKey kF4

  Represents the F4 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF5

      public:
      static const VirtualKey kF5

  Represents the F5 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF6

      public:
      static const VirtualKey kF6

  Represents the F6 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF7

      public:
      static const VirtualKey kF7

  Represents the F7 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF8

      public:
      static const VirtualKey kF8

  Represents the F8 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kF9

      public:
      static const VirtualKey kF9

  Represents the F9 key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kHome

      public:
      static const VirtualKey kHome

  Represents the Home key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kInsert

      public:
      static const VirtualKey kInsert

  Represents the Insert key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kLeft

      public:
      static const VirtualKey kLeft

  Represents the left arrow key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kNewLine

      public:
      static const VirtualKey kNewLine

  Represents the new line key.
  Note: This key often has the label Enter on its key top.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kNoKey

      public:
      static const VirtualKey kNoKey

  Represents the absence of a virtual key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kNumLock

      public:
      static const VirtualKey kNumLock

  Represents the Num Lock key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kPageDown

      public:
      static const VirtualKey kPageDown

  Represents the Page Down key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kPageUp

      public:
      static const VirtualKey kPageUp

  Represents the Page Up key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kPause

      public:
      static const VirtualKey kPause

  Represents the Pause key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kRight

      public:
      static const VirtualKey kRight

  Represents the right arrow key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kScrollLock

      public:
      static const VirtualKey kScrollLock

  Represents the Scroll Lock key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kShift

      public:
      static const VirtualKey kShift

  Represents the left and right Shift keys.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kSpace

      public:
      static const VirtualKey kSpace

  Represents the Space bar.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kSysRq

      public:
      static const VirtualKey kSysRq

  Represents the SysRq key.

Supported Platforms

  Windows | OS/2 | AIX
  No | Yes | No

kTab

      public:
      static const VirtualKey kTab

  Represents the Tab key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

kUp

      public:
      static const VirtualKey kUp

  Represents the up arrow key.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IKey - Type Definitions

VirtualKey

      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.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IKey - Inherited Member Functions and Data

#### Inherited Public Functions

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None