AcadToolbarItem
A single button item on a toolbar
Supported Platforms: Windows only
Object Inheritance
Members
These members are part of this object:
Methods- GetBitmaps
- SetBitmaps
- AttachToolbarToFlyout
- Delete
Properties- Application
- Parent
- Name
- TagString
- Type
- Flyout
- Macro
- Index
- HelpString
- GetBitmaps()
Void GetBitmaps([out] Pointer Type SmallIconName, [out] Pointer Type LargeIconName)
Gets the large and small bitmaps used as icons for the toolbar item
- SetBitmaps()
Void SetBitmaps([in] BSTR SmallIconName, [in] BSTR LargeIconName)
Sets the large and small bitmaps used as icons for the toolbar item
- AttachToolbarToFlyout()
Void AttachToolbarToFlyout([in] BSTR MenuGroupName, [in] BSTR ToolbarName)
Attaches a toolbar to a toolbar button defined as a flyout
- Delete()
Void Delete( )
Deletes a specified object
- Application [ReadOnly]
IAcadApplication* Application( )
Gets the Application object
- Parent [ReadOnly]
IAcadToolbar* Parent( )
Gets the parent of the object
- Name
BSTR Name( )
Specifies the name of the object
- TagString
BSTR TagString( )
Specifies the tag string of the object
- Type [ReadOnly]
AcToolbarItemType Type( )
Specifies type of a Leader, MenuGroup, PopupMenuItem, ToolbarItem, Polyline, or PolygonMesh object
- Flyout [ReadOnly]
IAcadToolbar* Flyout( )
Gets the toolbar associated with a flyout toolbar item
- Macro
BSTR Macro( )
Specifies the macro for the menu or toolbar item
- Index [ReadOnly]
Int Index( )
Specifies the index of the menu or toolbar item
- HelpString
BSTR HelpString( )
Specifies the help string for the toolbar, toolbar item, or menu item