ActionDescription Struct Reference

#include <actiontable.h>

Class Description

Description of a command for building action tables from static data This is a helper structure used for building ActionTables.

A static array of these descriptors is passed to the ActionTable constructor.

Version
4.0
See also
Class ActionTable, Class ActionItem, Class ActionCallback.

Public Attributes

int mCmdID
 A unique identifier for the command (must be unique per table). More...
 
int mDescriptionResourceID
 A string resource id that describes the command. More...
 
int mShortNameResourceID
 A string resource ID for a short name for the action. More...
 
int mCategoryResourceID
 A string resource ID for the category of an operation. More...
 

Member Data Documentation

int mCmdID

A unique identifier for the command (must be unique per table).

When an action is executed this is the command ID passed to ActionCallback::ExecuteAction().

int mDescriptionResourceID

A string resource id that describes the command.

int mShortNameResourceID

A string resource ID for a short name for the action.

This name appears in the list of Actions in the Customize User Interface dialog.

int mCategoryResourceID

A string resource ID for the category of an operation.

This name appears in the Category drop down list in the Customize User Interface dialog.