### ICommand

  The ICommand class contains common command-related elements that can be used in more than one class. Commands are events that can be generated from push buttons, menu items, or accelerator keys, and processed by the ICommandHandler class. There are standard IAction objects for many of these commands.

  You cannot create objects of this class, because ICommand has no public constructors.

### ICommand - Member Functions and Data by Group

### Common Application Commands

ICommand provides a set of CommandId values that you can use as the identifiers for common application commands.

kAboutId

      public:
      static const CommandId kAboutId

  Display version, copyright and legal information. This application command is equivalent to the IC_ID_ABOUT define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kBoldId

      public:
      static const CommandId kBoldId

  Make the selected text bold. This application command is equivalent to the IC_ID_BOLD define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kCancelId

      public:
      static const CommandId kCancelId

  The application command generated by pressing the Esc key on a dialog. This value is equivalent to the IC_ID_CANCEL define in the file icconst.h.

Supported Platforms

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

kConvertId

      public:
      static const CommandId kConvertId

  The application command equivalent to the IC_ID_CONVERT define in the file icconst.h.

Supported Platforms

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

kCopyId

      public:
      static const CommandId kCopyId

  Copy the selected object to the Clipboard. This application command is equivalent to the IC_ID_COPY define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kCutId

      public:
      static const CommandId kCutId

  Cut the selected object to the Clipboard. This application command is equivalent to the IC_ID_CUT define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kDeleteId

      public:
      static const CommandId kDeleteId

  Delete the selected object(s) This application command is equivalent to the IC_ID_DELETE define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kEditLinksId

      public:
      static const CommandId kEditLinksId

  The application command equivalent to the IC_ID_EDITLINKS define in the file icconst.h.

Supported Platforms

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

kExitId

      public:
      static const CommandId kExitId

  Leave the application. This application command is equivalent to the IC_ID_EXIT define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kFileApplyId

      public:
      static const CommandId kFileApplyId

  The application command generated by the Apply push button on a file dialog. This value is equivalent to the IC_ID_FILEAPPLY define in the file icconst.h.

Supported Platforms

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

kFileCancelId

      public:
      static const CommandId kFileCancelId

  The application command generated by the Cancel push button on a file dialog. This value is equivalent to the IC_ID_FILECANCEL define in the file icconst.h.

Supported Platforms

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

kFileOkId

      public:
      static const CommandId kFileOkId

  The application command generated by the OK push button on a file dialog. This value is equivalent to the IC_ID_FILEOK define in the file icconst.h.

Supported Platforms

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

kFontApplyId

      public:
      static const CommandId kFontApplyId

  The application command generated by the Apply push button on a font dialog. This value is equivalent to the IC_ID_FONTAPPLY define in the file icconst.h.

Supported Platforms

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

kFontCancelId

      public:
      static const CommandId kFontCancelId

  The application command generated by the Cancel push button on a font dialog. This value is equivalent to the IC_ID_FONTCANCEL define in the file icconst.h.

Supported Platforms

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

kFontOkId

      public:
      static const CommandId kFontOkId

  The application command generated by the OK push button on a font dialog. This value is equivalent to the IC_ID_FONTOK define in the file icconst.h.

Supported Platforms

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

kHelpId

      public:
      static const CommandId kHelpId

  Display help text. This application command is equivalent to the IC_ID_HELP define in the file icconst.h. The tool bar button with the same id generates this command. IFrameHandler provides default processing for this command by generating a help request.

Supported Platforms

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

kInsertId

      public:
      static const CommandId kInsertId

  The application command equivalent to the IC_ID_INSERT define in the file icconst.h.

Supported Platforms

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

kItalicId

      public:
      static const CommandId kItalicId

  Make the selected text Italic. This application command is equivalent to the IC_ID_ITALIC define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kLocateId

      public:
      static const CommandId kLocateId

  Find within the current document/object. This application command is equivalent to the IC_ID_LOCATE define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kNewId

      public:
      static const CommandId kNewId

  Create a new document/object and open it. This application command is equivalent to the IC_ID_NEW define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kOkId

      public:
      static const CommandId kOkId

  The application command that generally results from selecting an OK push button, or pressing the Enter key on a dialog without a default push button. This value is equivalent to the IC_ID_OK define in the file icconst.h.

Supported Platforms

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

kOpenId

      public:
      static const CommandId kOpenId

  Open another document/object. This application command is equivalent to the IC_ID_OPEN define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kPasteId

      public:
      static const CommandId kPasteId

  Paste from the Clipboard. This application command is equivalent to the IC_ID_PASTE define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kPasteLinkId

      public:
      static const CommandId kPasteLinkId

  Paste a link from the Clipboard. This application command is equivalent to the IC_ID_PASTELINK define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kPasteSpecialId

      public:
      static const CommandId kPasteSpecialId

  Paste, link, or embed from the Clipboard. This application command is equivalent to the IC_ID_PASTESPECIAL define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kPrintId

      public:
      static const CommandId kPrintId

  Print the current document/object. This application command is equivalent to the IC_ID_PRINT define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kSaveAsId

      public:
      static const CommandId kSaveAsId

  Save a copy of the current document/object with a new name. This application command is equivalent to the IC_ID_SAVE_AS define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kSaveCopyAsId

      public:
      static const CommandId kSaveCopyAsId

  The application command equivalent to the IC_ID_SAVE_COPY_AS define in the file icconst.h.

Supported Platforms

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

kSaveId

      public:
      static const CommandId kSaveId

  Save your current work. This application command is equivalent to the IC_ID_SAVE define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kSelectAllId

      public:
      static const CommandId kSelectAllId

  Select all objects. This application command is equivalent to the IC_ID_SELECTALL define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kSettingsId

      public:
      static const CommandId kSettingsId

  This application command is an alias for ICommand::kPropertiesId.

Supported Platforms

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

kUnderscoreId

      public:
      static const CommandId kUnderscoreId

  Underline the selected text. This application command is equivalent to the IC_ID_UNDERSCORE define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kUndoId

      public:
      static const CommandId kUndoId

  Undo the last action you took. This application command is equivalent to the IC_ID_UNDO define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kUpdateId

      public:
      static const CommandId kUpdateId

  Update the current view. This application command is equivalent to the IC_ID_UPDATE define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kViewToolbarId

      public:
      static const CommandId kViewToolbarId

  Display the toolbar for the application. This application command is equivalent to the IC_ID_TOOLBAR define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

### Common System Commands

ICommand provides a set of CommandId values that you can use as the identifiers for portable system commands.

kCloseId

      public:
      static const CommandId kCloseId

  The system command that closes a frame window. This value is equivalent to the IC_ID_CLOSE define in the file icconst.h.

Supported Platforms

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

kHideId

      public:
      static const CommandId kHideId

  The system command that hides a frame window. This value is equivalent to the IC_ID_SYSHIDE define in the file icconst.h.

Supported Platforms

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

Windows Considerations

  This command is equivalent to kMinimizeId.

kMaximizeId

      public:
      static const CommandId kMaximizeId

  The system command that maximizes the size of a frame window. This value is equivalent to the IC_ID_MAXIMIZE define in the file icconst.h.

Supported Platforms

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

kMinimizeId

      public:
      static const CommandId kMinimizeId

  The system command that minimizes the size of a frame window. This value is equivalent to the IC_ID_MINIMIZE define in the file icconst.h.

Supported Platforms

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

kMoveId

      public:
      static const CommandId kMoveId

  The system command that allows the user to move a frame window if it has a title bar. This value is equivalent to the IC_ID_MOVE define in the file icconst.h.

Supported Platforms

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

kRestoreId

      public:
      static const CommandId kRestoreId

  The system command that restores a frame window to the size and position it had before last being minimized, maximized, or hidden. This value is equivalent to the IC_ID_RESTORE define in the file icconst.h.

Supported Platforms

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

kSizeId

      public:
      static const CommandId kSizeId

  The system command that allows the user to size a frame window if it has a sizing border. This value is equivalent to the IC_ID_SIZE define in the file icconst.h.

Supported Platforms

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

kWindowListId

      public:
      static const CommandId kWindowListId

  The system command that causes the presentation system to show the list of windows that the user can switch to. This value is equivalent to the IC_ID_WINDOWLIST define in the file icconst.h.

Supported Platforms

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

### Miscellaneous Members

kCancelOperationId

      public:
      static const CommandId kCancelOperationId

  End the current operation and discard any changes. This application command is equivalent to the IC_ID_CANCELOPERATION define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kCenterId

      public:
      static const CommandId kCenterId

  Center align the selected text. This application command is equivalent to the IC_ID_CENTER define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kCheckSpellingId

      public:
      static const CommandId kCheckSpellingId

  Check the spelling. This application command is equivalent to the IC_ID_CHECKSPELLING define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kClearId

      public:
      static const CommandId kClearId

  Clear the selected object(s); that is, fill with blanks or other neutral content. This is not the same as deleting the contents; surrounding objects should not change their position as a result of this operation. This application command is equivalent to the IC_ID_CLEAR define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kDeleteColumnsId

      public:
      static const CommandId kDeleteColumnsId

  Delete the selected column(s). This application command is equivalent to the IC_ID_DELETECOLUMNS define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kDeleteRowsId

      public:
      static const CommandId kDeleteRowsId

  Delete the selected row(s). This application command is equivalent to the IC_ID_DELETEROWS define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kDeselectAllId

      public:
      static const CommandId kDeselectAllId

  Deselect all objects. This application command is equivalent to the IC_ID_DESELECTALL define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kDoubleUnderscoreId

      public:
      static const CommandId kDoubleUnderscoreId

  Double underline the selected text. This application command is equivalent to the IC_ID_DOUBLEUNDERSCORE define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kGeneralHelpId

      public:
      static const CommandId kGeneralHelpId

  Display general help information. This application command is equivalent to the IC_ID_GENERALHELP define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kHelpIndexId

      public:
      static const CommandId kHelpIndexId

  Display an index of all the available help. This application command is equivalent to the IC_ID_HELPINDEX define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kHelpTutorialId

      public:
      static const CommandId kHelpTutorialId

  Take a tutorial explaining how to use the application. This application command is equivalent to the IC_ID_HELPTUTORIAL define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kInsertColumnId

      public:
      static const CommandId kInsertColumnId

  Insert a column into the table. This application command is equivalent to the IC_ID_INSERTCOLUMN define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kInsertRowId

      public:
      static const CommandId kInsertRowId

  Insert a row into the table. This application command is equivalent to the IC_ID_INSERTROW define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kJustifyId

      public:
      static const CommandId kJustifyId

  Fully justify the selected text. This application command is equivalent to the IC_ID_JUSTIFY define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kLeftAlignObjectsId

      public:
      static const CommandId kLeftAlignObjectsId

  Left align the selected objects. This application command is equivalent to the IC_ID_LEFTALIGNOBJ define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kLeftId

      public:
      static const CommandId kLeftId

  Left align the select text. This application command is equivalent to the IC_ID_LEFT define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kLogoffId

      public:
      static const CommandId kLogoffId

  Log off the system. This application command is equivalent to the IC_ID_LOGOFF define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kLogonId

      public:
      static const CommandId kLogonId

  Log on to the system. This application command is equivalent to the IC_ID_LOGON define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kMailSendId

      public:
      static const CommandId kMailSendId

  Send the current document/object to another person. This application command is equivalent to the IC_ID_MAILSEND define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kMovePagesId

      public:
      static const CommandId kMovePagesId

  Move the current page to another position. This application command is equivalent to the IC_ID_MOVEPAGES define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kNormalId

      public:
      static const CommandId kNormalId

  Remove emphasis (such as bold, italic or underline) from the selected text. This application command is equivalent to the IC_ID_NORMAL define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kPrintPreviewId

      public:
      static const CommandId kPrintPreviewId

  See how the document will look when printed. This application command is equivalent to the IC_ID_PRINTPREVIEW define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kPrintSetupId

      public:
      static const CommandId kPrintSetupId

  Display the current settings for printing. This application command is equivalent to the IC_ID_PRINTSETUP define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kPropertiesId

      public:
      static const CommandId kPropertiesId

  Show properties (also known as "settings") of the current document/object. This application command is equivalent to the IC_ID_SETTINGS define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kRedoId

      public:
      static const CommandId kRedoId

  Redo the action you just undid. This application command is equivalent to the IC_ID_REDO define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kRightAlignObjectsId

      public:
      static const CommandId kRightAlignObjectsId

  Right align the selected objects. This application command is equivalent to the IC_ID_RIGHTALIGNOBJ define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kRightId

      public:
      static const CommandId kRightId

  Right align the selected text. This application command is equivalent to the IC_ID_RIGHT define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kRunScriptId

      public:
      static const CommandId kRunScriptId

  Run a script, typically one written by the end user. This application command is equivalent to the IC_ID_RUNSCRIPT define in the file icconst.h. The tool bar button with the same id generates this command.

  This application command and the associated toolbar button are typically not used directly. They are used by the Visible Properties and Actions framework to implement an equivalent standard IAction. The key for this IAction is also IC_ID_RUNSCRIPT .

Supported Platforms

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

kSortAZId

      public:
      static const CommandId kSortAZId

  Sort the selected objects in ascending alphabetical order. This application command is equivalent to the IC_ID_SORTAZ define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kSortDownId

      public:
      static const CommandId kSortDownId

  Sort the selected objects in descending numerical order. This application command is equivalent to the IC_ID_SORTDOWN define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kSortUpId

      public:
      static const CommandId kSortUpId

  Sort the selected objects in ascending numerical order. This application command is equivalent to the IC_ID_SORTUP define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kSortZAId

      public:
      static const CommandId kSortZAId

  Sort the selected objects in descending alphabetical order. This application command is equivalent to the IC_ID_SORTZA define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kToolbarSetupId

      public:
      static const CommandId kToolbarSetupId

  Customize the setup of your toolbar. This application command is equivalent to the IC_ID_TOOLBARSETUP define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kTourId

      public:
      static const CommandId kTourId

  Take a tour of the application's features and learn how to use them. This application command is equivalent to the IC_ID_TOUR define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kUsingHelpId

      public:
      static const CommandId kUsingHelpId

  Learn how to use the help display system. This application command is equivalent to the IC_ID_USINGHELP define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kVPAPaletteId

      public:
      static const CommandId kVPAPaletteId

  Show a palette of available actions and properties you can add to this application. This application command is equivalent to the IC_ID_VPAPALETTE define in the file icconst.h. The tool bar button with the same id generates this command.

  This application command and the associated toolbar button are typically not used directly. They are used by the Visible Properties and Actions framework to implement an equivalent standard IAction. The key for this IAction is also IC_ID_VPAPALETTE .

Supported Platforms

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

kZoomId

      public:
      static const CommandId kZoomId

  Zoom selected area , so it fills the work area. This application command is equivalent to the IC_ID_ZOOM define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kZoominId

      public:
      static const CommandId kZoominId

  Zoom in closer to the current document/object. This application command is equivalent to the IC_ID_ZOOMIN define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

kZoomOutId

      public:
      static const CommandId kZoomOutId

  Zoom out farther from the current document/object. This application command is equivalent to the IC_ID_ZOOMOUT define in the file icconst.h. The tool bar button with the same id generates this command.

Supported Platforms

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

### ICommand - Enumerations

ActionType

      enum ActionType { applicationCommand,
                        systemCommand,
                        help }

  The following enumerators identify the type of action run by an accelerator key. You use these enumerators when constructing an IAcceleratorKey object and calling the function IAcceleratorKey::actionType.

  applicationCommand
    The accelerator key runs an application command.
  systemCommand
    The accelerator key runs a system command.
  help
    The accelerator key issues a help request.

Supported Platforms

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

### ICommand - Type Definitions

CommandId

      typedef unsigned long CommandId

  This typedef helps document that the CommandId values provided by this class can be used as identifiers for commands and system commands in the IAcceleratorKey class. The use of this typedef also allows you to use command identifiers not provided by ICommand with IAcceleratorKey.

Supported Platforms

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

### ICommand - Inherited Member Functions and Data

#### Inherited Public Functions

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None