Public Member Functions

IMenuContext Class Reference

Search for all occurrences

Detailed Description

See also:
Class InterfaceServer, Class IMenuBarContext, Class Interface.

Description:
This class is available in release 4.0 and later only.

This class represents the interface to the various menu types such as MenuBar, QuadMenus, and right-click Popup Menus. The class provides the fundamental basis for the ID, Type, and Name.

#include <imenuman.h>

Inheritance diagram for IMenuContext:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual MenuContextId  GetId ()=0
virtual MenuContextType  GetType ()=0
virtual MSTR GetName ()=0

Member Function Documentation

virtual MenuContextId GetId ( ) [pure virtual]
Remarks:
This method returns the Menu Context ID.
virtual MenuContextType GetType ( ) [pure virtual]
Remarks:
This method returns the Menu Contex Type. One of the following values:

kMenuContextMenuBar

The context for the main menu bar.

kMenuContextQuadMenu

The context for the quad menu.

kMenuContextPopupMenu

The context for the Ctrl-right click popup menu.
virtual MSTR& GetName ( ) [pure virtual]
Remarks:
This method returns the name of the Menu Context.

IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext
IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext IMenuContext