This topic has not yet been rated - Rate this topic

IVsToolboxActiveUserHook Interface

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

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in microsoft.visualstudio.shell.interop.8.0.dll)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("A00C298A-6520-4822-ABD8-C5CD03846599")] 
public interface IVsToolboxActiveUserHook
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("A00C298A-6520-4822-ABD8-C5CD03846599") */ 
public interface IVsToolboxActiveUserHook
InterfaceTypeAttribute(1) 
GuidAttribute("A00C298A-6520-4822-ABD8-C5CD03846599") 
public interface IVsToolboxActiveUserHook

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

IVsToolboxActiveUserHook methods are called by the Toolbox itself, because only the active Toolbox user can receive IVsToolboxActiveUserHook notifications. It should not be called directly by a VSPackage.

Notes to Implementers If you have to intercept and modify Toolbox interactions before they are completed, you should implement the IVsToolboxActiveUserHook interface.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ