All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATIAApplicationFrame Interface CATIContextualMenu

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIContextualMenu
 

Usage: you can reimplement this interface by deriving the supplied CATExtIContextualMenu adapter class.


interface CATIContextualMenu

Interface to define or retrieve the contextual menu of an object.
Role:When you click with the mouse left button over an object, to have a specific contextual menu you must implement on your object this interface.

BOA information: this interface CANNOT be implemented using the BOA (Basic Object Adapter). To know more about the BOA, refer to the CAA Encyclopedia home page. Click Middleware at the bottom left, then click the Object Modeler tab page. Several articles deal with the BOA.


Method Index


o GetContextualMenu(CATCmdContainer*&)
Returns the contextual menu.

Methods


o GetContextualMenu
public virtual HRESULT GetContextualMenu(CATCmdContainer*& oMenu) = 0
Returns the contextual menu.
Parameters:
oMenu
The contextual menu dedicated to the object implementing this interface.

This object is included in the file: CATIContextualMenu.h
If needed, your Imakefile.mk should include the module: CATIAApplicationFrame

Copyright © 2003, Dassault Systèmes. All rights reserved.