v2.24
IContextMenuNodeItem Interface Reference

The context menu node item interface represents a context menu node item in Renga. More...

Inheritance diagram for IContextMenuNodeItem:
IContextMenuItem

Public Member Functions

HRESULT AddActionItem ([in] IAction *pAction, [out, retval] IContextMenuItem **ppItem)
 Creates and adds an action item to the context node item. More...
 
HRESULT AddNodeItem ([out, retval] IContextMenuNodeItem **ppItem)
 Creates and adds a context node item to the context node item. More...
 
HRESULT AddSeparator ()
 Adds a separaror to the context menu.
 

Properties

BSTR DisplayName [get, set]
 The localized text to display for the context node item.
 

Detailed Description

The context menu node item interface represents a context menu node item in Renga.

See also
IContextMenu

Member Function Documentation

◆ AddActionItem()

HRESULT IContextMenuNodeItem::AddActionItem ( [in] IAction pAction,
[out, retval] IContextMenuItem **  ppItem 
)

Creates and adds an action item to the context node item.

Parameters
[in]pActionThe action to add to the created context menu action item.
[out]ppItemThe context menu item inteface which references the new menu item.

◆ AddNodeItem()

HRESULT IContextMenuNodeItem::AddNodeItem ( [out, retval] IContextMenuNodeItem **  ppItem)

Creates and adds a context node item to the context node item.

Parameters
[out]ppItemThe context menu node item inteface which references the new menu item.