3ds Max C++ API Reference
|
Provides an easy mechanism for plug-ins to produce the menu needed in the ActionItem::GetDynamicMenu() method. More...
#include <actiontable_REMOTE_92.h>
Public Types | |
enum | DynamicMenuFlags { kDisabled = 1 << 0 , kChecked = 1 << 1 , kSeparator = 1 << 2 , kDisabled = 1 << 0 , kChecked = 1 << 1 , kSeparator = 1 << 2 , kDisabled = 1 << 0 , kChecked = 1 << 1 , kSeparator = 1 << 2 } |
Constants used in AddItem. More... | |
enum | DynamicMenuFlags { kDisabled = 1 << 0 , kChecked = 1 << 1 , kSeparator = 1 << 2 , kDisabled = 1 << 0 , kChecked = 1 << 1 , kSeparator = 1 << 2 , kDisabled = 1 << 0 , kChecked = 1 << 1 , kSeparator = 1 << 2 } |
Constants used in AddItem. More... | |
enum | DynamicMenuFlags { kDisabled = 1 << 0 , kChecked = 1 << 1 , kSeparator = 1 << 2 , kDisabled = 1 << 0 , kChecked = 1 << 1 , kSeparator = 1 << 2 , kDisabled = 1 << 0 , kChecked = 1 << 1 , kSeparator = 1 << 2 } |
Constants used in AddItem. More... | |
Public Member Functions | |
CoreExport | DynamicMenu (DynamicMenuCallback *pCallback) |
Constructor. | |
CoreExport IMenu * | GetMenu () |
This is the value returned from ActionItem::GetDynamicMenu(). | |
CoreExport void | AddItem (DWORD flags, UINT itemId, const MCHAR *pItemTitle) |
Adds an item to the dynamic menu. | |
CoreExport void | BeginSubMenu (const MCHAR *pTitle) |
This begins a new sub menu. | |
CoreExport void | EndSubMenu () |
Ends construction of a sub menu. | |
CoreExport | DynamicMenu (DynamicMenuCallback *pCallback) |
Constructor. | |
CoreExport IMenu * | GetMenu () |
This is the value returned from ActionItem::GetDynamicMenu(). | |
CoreExport void | AddItem (DWORD flags, UINT itemId, const MCHAR *pItemTitle) |
Adds an item to the dynamic menu. | |
CoreExport void | BeginSubMenu (const MCHAR *pTitle) |
This begins a new sub menu. | |
CoreExport void | EndSubMenu () |
Ends construction of a sub menu. | |
CoreExport | DynamicMenu (DynamicMenuCallback *pCallback) |
Constructor. | |
CoreExport IMenu * | GetMenu () |
This is the value returned from ActionItem::GetDynamicMenu(). | |
CoreExport void | AddItem (DWORD flags, UINT itemId, const MCHAR *pItemTitle) |
Adds an item to the dynamic menu. | |
CoreExport void | BeginSubMenu (const MCHAR *pTitle) |
This begins a new sub menu. | |
CoreExport void | EndSubMenu () |
Ends construction of a sub menu. | |
Additional Inherited Members | |
Static Public Member Functions inherited from MaxHeapOperators | |
static UtilExport void * | operator new (size_t size) |
Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e) |
Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new (size_t size, const char *filename, int line) |
New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, int block_type, const char *filename, int line) |
New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, const char *filename, int line) |
New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new (size_t size, unsigned long flags) |
New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, unsigned long flags) |
New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size, const char *filename, int line) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
New operator used to allocate arrays of objects. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void * | operator new[] (size_t size, unsigned long flags) |
New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. | |
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, unsigned long flags) |
New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. | |
static UtilExport void | operator delete (void *ptr) |
Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e) |
Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete (void *ptr, const char *filename, int line) |
Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, int block_type, const char *filename, int line) |
Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete (void *ptr, unsigned long flags) |
Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags) |
Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr) |
Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e) |
Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, int block_type, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. | |
static UtilExport void | operator delete[] (void *ptr, unsigned long flags) |
Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags) |
Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. | |
static UtilExport void * | operator new (size_t size, void *placement_ptr) |
Placement new operator. | |
static UtilExport void | operator delete (void *ptr, void *placement_ptr) |
Placement delete operator. | |
static UtilExport void * | aligned_malloc (size_t size, size_t alignment) |
Allocates memory on a specified alignment boundary. | |
static UtilExport void * | aligned_realloc (void *ptr, size_t size, size_t alignment) |
Reallocates memory on a specified alignment boundary. | |
static UtilExport void | aligned_free (void *ptr) |
Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. | |
Provides an easy mechanism for plug-ins to produce the menu needed in the ActionItem::GetDynamicMenu() method.
The constructor of this class is used to create the menu and the ActionItem::GetMenu() method returns the appropriate IMenu pointer.
The constructor of this class is used to create the menu and the ActionItem::GetMenu() method returns the appropriate IMenu pointer.
enum DynamicMenuFlags |
enum DynamicMenuFlags |
enum DynamicMenuFlags |
CoreExport DynamicMenu | ( | DynamicMenuCallback * | pCallback | ) |
Constructor.
pCallback | Points to the instance of the DynamicMenuCallback class that handles the menu selection. |
CoreExport DynamicMenu | ( | DynamicMenuCallback * | pCallback | ) |
Constructor.
pCallback | Points to the instance of the DynamicMenuCallback class that handles the menu selection. |
CoreExport DynamicMenu | ( | DynamicMenuCallback * | pCallback | ) |
Constructor.
pCallback | Points to the instance of the DynamicMenuCallback class that handles the menu selection. |
CoreExport IMenu * GetMenu | ( | ) |
This is the value returned from ActionItem::GetDynamicMenu().
This method may be called after menu creation to get a pointer to the IMenu created.
CoreExport void AddItem | ( | DWORD | flags, |
UINT | itemId, | ||
const MCHAR * | pItemTitle | ||
) |
Adds an item to the dynamic menu.
flags | One or more of the DynamicMenuFlags. |
itemId | The ID for the menu item. |
pItemTitle | The name to appear for the menu item. |
CoreExport void BeginSubMenu | ( | const MCHAR * | pTitle | ) |
This begins a new sub menu.
Items added after this call will appear as sub choices of this one until EndSubMenu() is called.
pTitle | The name to appear for the sub menu item. |
CoreExport void EndSubMenu | ( | ) |
Ends construction of a sub menu.
Items added after this call will appear as they did prior to calling BeginSubMenu().
CoreExport IMenu * GetMenu | ( | ) |
This is the value returned from ActionItem::GetDynamicMenu().
This method may be called after menu creation to get a pointer to the IMenu created.
CoreExport void AddItem | ( | DWORD | flags, |
UINT | itemId, | ||
const MCHAR * | pItemTitle | ||
) |
Adds an item to the dynamic menu.
flags | One or more of the DynamicMenuFlags. |
itemId | The ID for the menu item. |
pItemTitle | The name to appear for the menu item. |
CoreExport void BeginSubMenu | ( | const MCHAR * | pTitle | ) |
This begins a new sub menu.
Items added after this call will appear as sub choices of this one until EndSubMenu() is called.
pTitle | The name to appear for the sub menu item. |
CoreExport void EndSubMenu | ( | ) |
Ends construction of a sub menu.
Items added after this call will appear as they did prior to calling BeginSubMenu().
CoreExport IMenu * GetMenu | ( | ) |
This is the value returned from ActionItem::GetDynamicMenu().
This method may be called after menu creation to get a pointer to the IMenu created.
CoreExport void AddItem | ( | DWORD | flags, |
UINT | itemId, | ||
const MCHAR * | pItemTitle | ||
) |
Adds an item to the dynamic menu.
flags | One or more of the DynamicMenuFlags. |
itemId | The ID for the menu item. |
pItemTitle | The name to appear for the menu item. |
CoreExport void BeginSubMenu | ( | const MCHAR * | pTitle | ) |
This begins a new sub menu.
Items added after this call will appear as sub choices of this one until EndSubMenu() is called.
pTitle | The name to appear for the sub menu item. |
CoreExport void EndSubMenu | ( | ) |
Ends construction of a sub menu.
Items added after this call will appear as they did prior to calling BeginSubMenu().