3ds Max C++ API Reference
imenuman.h File Reference

Abstract classes for the Menu Manager. More...

#include "iMenus.h"

Classes

class  IMenuContext
 Represents the interface to the various menu types such as MenuBar, QuadMenus, and right-click Popup Menus. More...
 
class  IMenuBarContext
 This abstract class represents an interface for a menu bar context. More...
 
class  IQuadMenuContext
 This abstract class represents the interface for a quad menu bar context. More...
 
class  IMenuManager
 Used for managing all menus To get an interface for calling the methods of this class use Interface::GetMenuManager(). More...
 
class  IMenuManagerExtension
 Extension class for IMenuManager, can be accessed by calling GetCOREInterface()->GetMenuManager() and downcasting to this interface. More...
 

Macros

#define MENU_MGR_INTERFACE   Interface_ID(0xadc20bd, 0x7491741d)
 Interface ID for to get the interface for class IMenuManager. More...
 

Typedefs

typedef int MenuContextId
 Type IDs for various Menu Contexts. More...
 

Enumerations

enum  MenuContextType { kMenuContextMenuBar = 0 , kMenuContextQuadMenu , kMenuContextPopupMenu }
 Enumerator to determine the menu type. More...
 

Variables

const MenuContextId kMainMenuBar = 1
 
const MenuContextId kViewportQuad = 2
 
const MenuContextId kSchematicViewQuad = 3
 
const MenuContextId kIReshadeQuad = 4
 
const MenuContextId kIUVWUnwrapQuad = 5
 
const MenuContextId kTrackViewQuad = 6
 
const MenuContextId kTrackViewMenuBar = 7
 
const MenuContextId kSchematicViewMenuBar = 8
 
const MenuContextId kMaterialEditorMenuBar = 9
 
const MenuContextId kTrackViewRetimerQuad = 10
 
const DWORD kMenuMenuBar = (1 << 0)
 
const DWORD kMenuQuadMenu = (1 << 1)
 

Detailed Description

Abstract classes for the Menu Manager.

Macro Definition Documentation

◆ MENU_MGR_INTERFACE

#define MENU_MGR_INTERFACE   Interface_ID(0xadc20bd, 0x7491741d)

Interface ID for to get the interface for class IMenuManager.

Typedef Documentation

◆ MenuContextId

typedef int MenuContextId

Type IDs for various Menu Contexts.

Enumeration Type Documentation

◆ MenuContextType

Enumerator to determine the menu type.

Can be a Menu Bar, a Quad Menu or a Popup Menu.

Enumerator
kMenuContextMenuBar 
kMenuContextQuadMenu 
kMenuContextPopupMenu 
43  {
47 };
@ kMenuContextMenuBar
Definition: imenuman.h:44
@ kMenuContextQuadMenu
Definition: imenuman.h:45
@ kMenuContextPopupMenu
Definition: imenuman.h:46

Variable Documentation

◆ kMenuMenuBar

const DWORD kMenuMenuBar = (1 << 0)

◆ kMenuQuadMenu

const DWORD kMenuQuadMenu = (1 << 1)