다음을 통해 공유


IVsWindowFrame4 Interface

Implemented by the Visual Studio Environment on IVsWindowFrame4objects for tool windows and document windows. This interface may be retrieved by QueryInterface from an IVsWindowFrame pointer.

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

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("841F8242-83BB-4C6D-8357-E12C21BF6CAA")> _
Public Interface IVsWindowFrame4
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("841F8242-83BB-4C6D-8357-E12C21BF6CAA")]
public interface IVsWindowFrame4
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"841F8242-83BB-4C6D-8357-E12C21BF6CAA")]
public interface class IVsWindowFrame4
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("841F8242-83BB-4C6D-8357-E12C21BF6CAA")>]
type IVsWindowFrame4 =  interface end
public interface IVsWindowFrame4

The IVsWindowFrame4 type exposes the following members.

Methods

  Name Description
Public method GetWindowScreenRect Gets the frame's position, in screen coordinates. This rectangle represents the screen coordinates of the content portion of the tool window, measured in pixels. This area does not include the title region, but includes any toolbars hosted by the window. This function behaves the same regardless of the dock state of the window (floating, docked, MDI). The isOnScreen return value will be set to true if the frame's position and size could be accurately calculated, or false if the frame's position or size values could not be accurately calculated.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace