Compartir a través de


IVsToolWindowToolbarHost Interface

Definition

Provides control over features pertaining to a tool window toolbar.

public interface class IVsToolWindowToolbarHost
public interface class IVsToolWindowToolbarHost
__interface IVsToolWindowToolbarHost
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("CF7549A9-7A2A-4A6E-ACF4-05452C98CF7E")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsToolWindowToolbarHost
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("CF7549A9-7A2A-4A6E-ACF4-05452C98CF7E")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsToolWindowToolbarHost
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("CF7549A9-7A2A-4A6E-ACF4-05452C98CF7E")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsToolWindowToolbarHost = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("CF7549A9-7A2A-4A6E-ACF4-05452C98CF7E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsToolWindowToolbarHost = interface
Public Interface IVsToolWindowToolbarHost
Derived
Attributes

Remarks

This interface is implemented by the environment in response to a VSPackage creating a tool window using CreateToolWindow with a CTW_fToolbarHost flag. The environment creates an IVsToolWindowToolbar interface then makes available an IVsToolWindowToolbarHost interface that is accessible to the VSPackage. The VSPackage accesses the IVsToolWindowToolbarHost interface by calling GetProperty on the tool window with the VSFPROPID_ToolbarHost property parameter.

The AddToolbar method is the only IVsToolWindowToolbarHost method that should be called by a VSPackage. The environment calls the other methods to respond to user interaction with the tool window.

Notes to Implementers

This interface is implemented by the environment to give a VSPackage control over its tool window toolbars.

Notes to Callers

Called by VSPackages should call this interface when they need to exercise control over tool window toolbars.

Methods

AddToolbar(VSTWT_LOCATION, Guid, UInt32)

Adds a toolbar to the tool window.

BorderChanged()

This method is for the environment's use only. Method information is not provided. Do not use this method.

Close(UInt32)

This method is for the environment's use only. Method information is not provided. Do not use this method.

ForceUpdateUI()

This method is for the environment's use only. Method information is not provided. Do not use this method.

Hide(UInt32)

This method is for the environment's use only. Method information is not provided. Do not use this method.

ProcessMouseActivation(IntPtr, UInt32, IntPtr, IntPtr)
ProcessMouseActivation(IntPtr, UInt32, UInt32, Int32)

This method is for the environment's use only. Method information is not provided. Do not use this method.

ProcessMouseActivationModal(IntPtr, UInt32, IntPtr, IntPtr, IntPtr)
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.

Show(UInt32)

This method is for the environment's use only. Method information is not provided. Do not use this method.

ShowHideToolbar(Guid, UInt32, Int32)

This method is for the environment's use only. Method information is not provided. Do not use this method.

Applies to