3ds Max C++ API Reference
Loading...
Searching...
No Matches
ActionDescription Struct Reference

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

#include <actiontable_REMOTE_92.h>

Public Attributes

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

Detailed 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.

See also
Class ActionTable, Class ActionItem, Class ActionCallback.

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

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

Member Data Documentation

◆ mCmdID

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().

Note
This should be a 16 bit value (in the range of 0-65,535) as it is also used as a Windows accelerator command ID for keyboard shortcuts, which is a WORD (16 bit unsigned short).

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

◆ mDescriptionResourceID

int mDescriptionResourceID

A string resource id that describes the command.

◆ mShortNameResourceID

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.

◆ mCategoryResourceID

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.