Udostępnij za pośrednictwem


IVsWindowFrame4 Interface

Definition

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.

public interface class IVsWindowFrame4
public interface class IVsWindowFrame4
__interface IVsWindowFrame4
[System.Runtime.InteropServices.Guid("841F8242-83BB-4C6D-8357-E12C21BF6CAA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsWindowFrame4
[<System.Runtime.InteropServices.Guid("841F8242-83BB-4C6D-8357-E12C21BF6CAA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsWindowFrame4 = interface
Public Interface IVsWindowFrame4
Attributes

Methods

GetWindowScreenRect(Int32, Int32, Int32, Int32)

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.

Applies to