Structure ShortcutDescription
See Also: Class ShortcutTable.
Description:
This structure is available in release 3.0 and later only.
It provides a description of a command for building shortcut tables from static data. A pointer to an array of these is passed to the ShortcutTable constructor.
Typically one is declared like this:
static ShortcutDescription spShortcuts[] = {
ID_CURVE_TOGGLE, IDS_DISPLAY_CURVES,
ID_DISP_DEP_TOGGLE, IDS_DISPLAY_DEPENDENTS,
...
};
struct ShortcutDescription {
int mCmdID;
This is the command ID.
int mResourceID;
This is the resource ID of the description string.
};