Dialog CATDlgContextualMenu

Usage: you can derive this class.


public class CATDlgContextualMenu

Base class for specifying an object's dependent menu.
Role: The contextual menu is assigned to a given object, and can be accessed by right clicking the object. It is used to offer context-dependent capabilities to the end-user.

A contextual menu, like any other menu, is made of submenus, push items, check items, radio items, and separators. Use contextual menus whenever you want the end user to be able to access commands specific to the current object.


Constructor and Destructor Index


o CATDlgContextualMenu(CATDialog*,CATString&,CATDlgStyle)
Constructs a CATDlgContextualMenu.

Constructor and Destructor


o CATDlgContextualMenu
public CATDlgContextualMenu( iParent,
const iObjectName,
iStyle=NULL)
Constructs a CATDlgContextualMenu.
Parameters:
iParent
The parent of the contextual menu.
iObjectName
The name of the contextual menu.
iStyle
The style of the contextual menu.
Legal values :
NULL
by default, if no value is passed in argument, the contextual menu content is permanent.
CATDlgCtxEmpty
the contextual menu content can be redefined with respect to the context. In this case, the contextual menu content is emptied whenever the menu is deactivated by the end user.

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

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.