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 provides a set of CommandId values that you can use as the identifiers for common application commands.
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const CommandId kConvertId
The application command equivalent to the IC_ID_CONVERT define in the file icconst.h.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const CommandId kEditLinksId
The application command equivalent to the IC_ID_EDITLINKS define in the file icconst.h.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const CommandId kInsertId
The application command equivalent to the IC_ID_INSERT define in the file icconst.h.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const CommandId kSaveCopyAsId
The application command equivalent to the IC_ID_SAVE_COPY_AS define in the file icconst.h.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
public:
static const CommandId kSettingsId
This application command is an alias for ICommand::kPropertiesId.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
ICommand provides a set of CommandId values that you can use as the identifiers for portable system commands.
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Ignored |
This command is equivalent to kMinimizeId.
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Ignored |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Ignored |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Ignored |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Ignored |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Ignored |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Ignored |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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 .
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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 .
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |
![]() |
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.
Windows | OS/2 | AIX |
Yes | Yes | Yes |