IVsToolbox IVsToolbox IVsToolbox IVsToolbox IVsToolbox IVsToolbox Interface

Definition

Used to manage the Toolbox.

public interface class IVsToolbox
public interface class IVsToolbox
__interface IVsToolbox
[System.Runtime.InteropServices.Guid("70E643E2-1673-4764-8A39-63CB1AEE0DC9")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsToolbox
type IVsToolbox = interface
Public Interface IVsToolbox
Derived
Attributes

Remarks

See illustrations of the implementation and/or calling of this interface in the Figures Edit.

Additional features, useful in persisting toolboxes, can be found under the IVsToolbox3 interface.

Methods

AddActiveXItem(Guid, String, IVsHierarchy) AddActiveXItem(Guid, String, IVsHierarchy) AddActiveXItem(Guid, String, IVsHierarchy) AddActiveXItem(Guid, String, IVsHierarchy) AddActiveXItem(Guid, String, IVsHierarchy) AddActiveXItem(Guid, String, IVsHierarchy)

Allows ActiveX controls to be programmatically added to the Toolbox.

AddItem(IDataObject, TBXITEMINFO[], String) AddItem(IDataObject, TBXITEMINFO[], String) AddItem(IDataObject, TBXITEMINFO[], String) AddItem(IDataObject, TBXITEMINFO[], String) AddItem(IDataObject, TBXITEMINFO[], String) AddItem(IDataObject, TBXITEMINFO[], String)

Adds a data object to the specified tab in the Toolbox.

AddItemFromFile(String, IVsHierarchy, Int32) AddItemFromFile(String, IVsHierarchy, Int32) AddItemFromFile(String, IVsHierarchy, Int32) AddItemFromFile(String, IVsHierarchy, Int32) AddItemFromFile(String, IVsHierarchy, Int32) AddItemFromFile(String, IVsHierarchy, Int32)

Allows files to be programmatically added to the Toolbox.

AddTab(String) AddTab(String) AddTab(String) AddTab(String) AddTab(String) AddTab(String)

Adds a new tab to the Toolbox.

AddTabEx(String, VSTBXTABVIEW) AddTabEx(String, VSTBXTABVIEW) AddTabEx(String, VSTBXTABVIEW) AddTabEx(String, VSTBXTABVIEW) AddTabEx(String, VSTBXTABVIEW) AddTabEx(String, VSTBXTABVIEW)

Adds a new tab to the Toolbox and specifies how the tabs are viewed.

DataUsed() DataUsed() DataUsed() DataUsed() DataUsed() DataUsed()

Called by a designer to inform the Toolbox that the item has been pasted onto the form.

EnumItems(String, IEnumToolboxItems) EnumItems(String, IEnumToolboxItems) EnumItems(String, IEnumToolboxItems) EnumItems(String, IEnumToolboxItems) EnumItems(String, IEnumToolboxItems) EnumItems(String, IEnumToolboxItems)

Enumerates items on a given tab in the Toolbox, or all items in the Toolbox.

EnumTabs(IEnumToolboxTabs) EnumTabs(IEnumToolboxTabs) EnumTabs(IEnumToolboxTabs) EnumTabs(IEnumToolboxTabs) EnumTabs(IEnumToolboxTabs) EnumTabs(IEnumToolboxTabs)

Enumerates through tabs in the Toolbox.

GetData(IDataObject) GetData(IDataObject) GetData(IDataObject) GetData(IDataObject) GetData(IDataObject) GetData(IDataObject)

Returns the data object for the selected item in the Toolbox.

GetFrame(IVsWindowFrame) GetFrame(IVsWindowFrame) GetFrame(IVsWindowFrame) GetFrame(IVsWindowFrame) GetFrame(IVsWindowFrame) GetFrame(IVsWindowFrame)

Returns the window frame for the Toolbox.

GetTab(String) GetTab(String) GetTab(String) GetTab(String) GetTab(String) GetTab(String)

Returns the name of the selected tab.

GetTabView(String, VSTBXTABVIEW[]) GetTabView(String, VSTBXTABVIEW[]) GetTabView(String, VSTBXTABVIEW[]) GetTabView(String, VSTBXTABVIEW[]) GetTabView(String, VSTBXTABVIEW[]) GetTabView(String, VSTBXTABVIEW[])

Returns the tab view for the specified tab.

IsCurrentUser(IVsToolboxUser, Int32) IsCurrentUser(IVsToolboxUser, Int32) IsCurrentUser(IVsToolboxUser, Int32) IsCurrentUser(IVsToolboxUser, Int32) IsCurrentUser(IVsToolboxUser, Int32) IsCurrentUser(IVsToolboxUser, Int32)

Determines whether the specified Toolbox user is the current user.

RegisterDataProvider(IVsToolboxDataProvider, UInt32) RegisterDataProvider(IVsToolboxDataProvider, UInt32) RegisterDataProvider(IVsToolboxDataProvider, UInt32) RegisterDataProvider(IVsToolboxDataProvider, UInt32) RegisterDataProvider(IVsToolboxDataProvider, UInt32) RegisterDataProvider(IVsToolboxDataProvider, UInt32)

Registers a Toolbox data provider.

RemoveItem(IDataObject) RemoveItem(IDataObject) RemoveItem(IDataObject) RemoveItem(IDataObject) RemoveItem(IDataObject) RemoveItem(IDataObject)

Removes an item from the Toolbox.

RemoveTab(String) RemoveTab(String) RemoveTab(String) RemoveTab(String) RemoveTab(String) RemoveTab(String)

Removes a tab from the Toolbox.

SelectItem(IDataObject) SelectItem(IDataObject) SelectItem(IDataObject) SelectItem(IDataObject) SelectItem(IDataObject) SelectItem(IDataObject)

Programmatically selects an item.

SelectTab(String) SelectTab(String) SelectTab(String) SelectTab(String) SelectTab(String) SelectTab(String)

Programmatically selects the referenced Toolbox tab.

SetCursor() SetCursor() SetCursor() SetCursor() SetCursor() SetCursor()

Sets the drop cursor for the current, enabled Toolbox item.

SetItemInfo(IDataObject, TBXITEMINFO[]) SetItemInfo(IDataObject, TBXITEMINFO[]) SetItemInfo(IDataObject, TBXITEMINFO[]) SetItemInfo(IDataObject, TBXITEMINFO[]) SetItemInfo(IDataObject, TBXITEMINFO[]) SetItemInfo(IDataObject, TBXITEMINFO[])

Sets information for the referenced item.

SetTabView(String, VSTBXTABVIEW) SetTabView(String, VSTBXTABVIEW) SetTabView(String, VSTBXTABVIEW) SetTabView(String, VSTBXTABVIEW) SetTabView(String, VSTBXTABVIEW) SetTabView(String, VSTBXTABVIEW)

Sets the type of view for the specified tab.

UnregisterDataProvider(UInt32) UnregisterDataProvider(UInt32) UnregisterDataProvider(UInt32) UnregisterDataProvider(UInt32) UnregisterDataProvider(UInt32) UnregisterDataProvider(UInt32)

Unregisters the specified data provider.

UpdateToolboxUI() UpdateToolboxUI() UpdateToolboxUI() UpdateToolboxUI() UpdateToolboxUI() UpdateToolboxUI()

Forces a redraw of the Toolbox UI.

Applies to