IVsToolboxActiveUserHook Interface

Definition

Provides support for intercepting and modifying Toolbox interactions, including drag and drop.

public interface class IVsToolboxActiveUserHook
public interface class IVsToolboxActiveUserHook
__interface IVsToolboxActiveUserHook
[System.Runtime.InteropServices.Guid("A00C298A-6520-4822-ABD8-C5CD03846599")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsToolboxActiveUserHook
[<System.Runtime.InteropServices.Guid("A00C298A-6520-4822-ABD8-C5CD03846599")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsToolboxActiveUserHook = interface
Public Interface IVsToolboxActiveUserHook
Derived
Attributes

Remarks

IVsToolboxActiveUserHook is used by an application that requires notification of changes to a Toolbox selection and or needs to intercept and modify a data object when it is copied or dragged.

The interface's methods are called by the Toolbox itself, as only the active Toolbox user can receive IVsToolboxActiveUserHook notifications. It should not be called directly by a VSPackage.

Notes to Implementers

Toolbox users that need to intercept and modify Toolbox interactions, before they are completed including drag and drop, should implement the IVsToolboxActiveUserHook interface.

Methods

InterceptDataObject(IDataObject, IDataObject)

This method is called by the Toolbox whenever one of its data objects participates in a drag-and-drop operation.

ToolboxSelectionChanged(IDataObject)

This method is called by the Toolbox whenever there is a change in which Toolbox item has been selected.

Applies to