Partager via


IVsToolWindowToolbarHost3 Interface

Provides additional control over features pertaining to a tool window toolbar.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
<GuidAttribute("8EE99928-6A35-470B-8AFF-96B0319F6B9A")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsToolWindowToolbarHost3 _
    Inherits IVsToolWindowToolbarHost
[GuidAttribute("8EE99928-6A35-470B-8AFF-96B0319F6B9A")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsToolWindowToolbarHost3 : IVsToolWindowToolbarHost
[GuidAttribute(L"8EE99928-6A35-470B-8AFF-96B0319F6B9A")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsToolWindowToolbarHost3 : IVsToolWindowToolbarHost
[<GuidAttribute("8EE99928-6A35-470B-8AFF-96B0319F6B9A")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsToolWindowToolbarHost3 =  
    interface 
        interface IVsToolWindowToolbarHost 
    end
public interface IVsToolWindowToolbarHost3 extends IVsToolWindowToolbarHost

The IVsToolWindowToolbarHost3 type exposes the following members.

Methods

  Name Description
Public method _VtblGap1_9
Public method AddToolbar(VSTWT_LOCATION, Guid%, UInt32) Adds a toolbar to the tool window. (Inherited from IVsToolWindowToolbarHost.)
Public method AddToolbar(VSTWT_LOCATION, Guid%, UInt32)
Public method AddToolbar3 Specifies the drop target to handle drop operations over the toolbar area and the command target to be used for the commands on it.
Public method BorderChanged() This method is for the environment's use only. Method information is not provided. Do not use this method. (Inherited from IVsToolWindowToolbarHost.)
Public method BorderChanged()
Public method Close(UInt32) This method is for the environment's use only. Method information is not provided. Do not use this method. (Inherited from IVsToolWindowToolbarHost.)
Public method Close(UInt32)
Public method ForceUpdateUI() This method is for the environment's use only. Method information is not provided. Do not use this method. (Inherited from IVsToolWindowToolbarHost.)
Public method ForceUpdateUI()
Public method Hide(UInt32) This method is for the environment's use only. Method information is not provided. Do not use this method. (Inherited from IVsToolWindowToolbarHost.)
Public method Hide(UInt32)
Public method ProcessMouseActivation(IntPtr, UInt32, UInt32, Int32) This method is for the environment's use only. Method information is not provided. Do not use this method. (Inherited from IVsToolWindowToolbarHost.)
Public method ProcessMouseActivation(IntPtr, UInt32, UInt32, Int32)
Public method ProcessMouseActivationModal(IntPtr, UInt32, UInt32, Int32, Int32%) This method is for the environment's use only. Method information is not provided. Do not use this method. (Inherited from IVsToolWindowToolbarHost.)
Public method ProcessMouseActivationModal(IntPtr, UInt32, UInt32, Int32, Int32%)
Public method Show(UInt32) This method is for the environment's use only. Method information is not provided. Do not use this method. (Inherited from IVsToolWindowToolbarHost.)
Public method Show(UInt32)
Public method ShowHideToolbar(Guid%, UInt32, Int32) This method is for the environment's use only. Method information is not provided. Do not use this method. (Inherited from IVsToolWindowToolbarHost.)
Public method ShowHideToolbar(Guid%, UInt32, Int32)

Top

Remarks

This interface is retrieved by a QueryInterface on the IVsToolWindowToolbarHost that is returned as an out parameter from one of the IVsUIShellX.SetupToolbarX flavors.

This interface is used by tool window clients that want to have a toolbar within their window and need to provide a specific drop target for intercepting drag and drop operations over the toolbar area, or provide a specific command target to be used for the commands on the toolbar.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace