Compartilhar via


IVsWindowFrameSwitcher Interface

Definition

Manages a tool window that supports switching between multiple client area views.

public interface class IVsWindowFrameSwitcher
public interface class IVsWindowFrameSwitcher
__interface IVsWindowFrameSwitcher
[System.Runtime.InteropServices.Guid("C40CF83B-A231-46B3-AA07-8CC30D5E1A04")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsWindowFrameSwitcher
[<System.Runtime.InteropServices.Guid("C40CF83B-A231-46B3-AA07-8CC30D5E1A04")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsWindowFrameSwitcher = interface
Public Interface IVsWindowFrameSwitcher
Attributes

Remarks

This interface makes it possible for multiple tools with the same information to operate as a single functional unit with a group identity. One example of this is the Properties window.

This interface is retrieved by calling QueryInterface on the IVsWindowFrame of a Tool Window.

Methods

AddTool(Guid, String)

Adds a tool to this frame switcher.

GetActiveFrame(IVsWindowFrame)

Gets the inner frame of the active tool for the group.

InitializeSwitcher(UInt32)

Initializes the switcher by indicating the VSConstants.VSSELELEMID it will monitor for switching between tools in the group. This can be one of the existing VSSELELEMID values or a custom slot in the SelectionElements registry key.

RemoveTool(Guid, String)

Removes a tool from the frame switcher.

Applies to