Allows access to a toolbar.
.NET Syntax
Visual Basic (Declaration) | |
---|
Public Interface IToolbar |
C# | |
---|
public interface IToolbar |
JavaScript | |
---|
Object dsToolbar |
COM native C++ | |
---|
interface IToolbar |
Example
The following code snippets show how to add a toolbar to the list of available toolbars:
COM native C++
IToolbarPtr pToolbar = m_DsApp->AddToolbar( m_sApiUuid, dsUIState_Document, L"DsAddin Toolbar");
C++
dsString ToolbarName = L
"QAddIn1_Toolbar";
dsToolbar_ptr pToolbar;
dsApp->AddToolbar( myApplication::appID, dsUIState_Document, ToolbarName, &pToolbar );
Remarks
Accessors
See Also