Class DynamicMenuCallback

3DS Max Plug-In SDK

Class DynamicMenuCallback

See Also: Class DynamicMenu, Class IMenu, Class ActionTable, Class ActionItem, Class ActionCallback, Class ActionContext, Class IActionManager, Class Interface.

class DynamicMenuCallback

Description:

This class is available in release 4.0 and later only.

This is the callback object for a dynamic menu. When a user makes a selection from a dynamic menu the MenuItemSelected() method of this class is called to process that selection.

Methods:

public:

Prototype:

virtual void MenuItemSelected(int itemId) = 0;

Remarks:

This method is called to process the user's menu selection.

Parameters:

int itemId

The ID of the item selected.