This document covers the following topics:
Collection of the available context menus.
The following properties are available:
Used to navigate to the parent interface of this interface.
Natural Data Format | Variant Type | Remark |
---|---|---|
HANDLE OF OBJECT | VT_DISPATCH (INatAutoControlBars) | Get only |
Used to navigate to the root interface.
Natural Data Format | Variant Type | Remark |
---|---|---|
HANDLE OF OBJECT | VT_DISPATCH (INatAutoStudio) | Get only |
The number of available context menus.
Natural Data Format | Variant Type | Remark |
---|---|---|
I4 | VT_I4 | Get only |
The following methods are available:
Creates a new context menu and adds it to the collection. Dynamically created context menus are not persistently customizable in the Customize dialog.
Name | Natural Data Format | Variant Type | Remark |
---|---|---|---|
Return value | HANDLE OF OBJECT | VT_DISPATCH (INatAutoContextMenu) | |
Caption | A | VT_BSTR |
The newly added context menu.
A string used to identify the context menu.
Returns a specific context menu from the collection. Used to iterate through the collection.
Name | Natural Data Format | Variant Type | Remark |
---|---|---|---|
Return value | HANDLE OF OBJECT | VT_DISPATCH (INatAutoContextMenu) | |
Index |
I4 |
VT_I4 |
The context menu identified by the value specified in Index.
Identifies a specific context menu in the collection. This can be either the index of the context menu in the collection (a value between 1 and Count) or the caption of the context menu (as indicated in the Customize dialog).