This document covers the following topics:
Collection of the available toolbars.
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 toolbars.
Natural Data Format | Variant Type | Remark |
---|---|---|
I4 | VT_I4 | Get only |
The following methods are available:
Creates a new toolbar and adds it to the collection. Dynamically created toolbars are not persistently customizable in the Customize dialog.
Name | Natural Data Format | Variant Type | Remark |
---|---|---|---|
Return value | HANDLE OF OBJECT | VT_DISPATCH (INatAutoToolBar) | |
Caption | A | VT_BSTR | |
Visible | L | VT_BOOL | Optional |
- Return value
The newly added toolbar.
- Caption
A string used to identify the toolbar.
- Visible
Decides if the toolbar is created visibel or not. By default, the toolbar is created visible.
Returns a specific toolbar from the collection. Used to iterate through the collection.
Name | Natural Data Format | Variant Type | Remark |
---|---|---|---|
Return value | HANDLE OF OBJECT | VT_DISPATCH (INatAutoToolBar) | |
Index |
I4 |
VT_I4 VT_BSTR |
- Return value
The toolbar identified by the value specified in Index.
- Index
Identifies a specific toolbar in the collection. This can be either the index of the toolbar in the collection (a value between 1 and Count) or the caption of the toolbar.