v2.37
|
|
This interface represents a context menu in Renga. More...
Public Member Functions | |
HRESULT | AddActionItem ([in] IAction *pAction, [out, retval] IContextMenuItem **ppItem) |
Creates an action item and adds it to the context menu. | |
HRESULT | AddNodeItem ([out, retval] IContextMenuNodeItem **ppItem) |
Creates a node item and adds it to the context menu. | |
HRESULT | AddSeparator () |
Adds a separaror to the context menu. | |
This interface represents a context menu in Renga.
A context menu may consist of action items, separators and submenu nodes.
Context menu objects exists in Renga until the application is closed. The same context menu can be added to different views.
HRESULT AddActionItem | ( | [in] IAction * | pAction, |
[out, retval] IContextMenuItem ** | ppItem ) |
Creates an action item and adds it to the context menu.
[in] | pAction | The action for the created item. |
[out] | ppItem | The context menu item inteface which references the new menu item. |
HRESULT AddNodeItem | ( | [out, retval] IContextMenuNodeItem ** | ppItem | ) |
Creates a node item and adds it to the context menu.
[out] | ppItem | The context menu node item inteface which references the new menu item. |