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)

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("841F8242-83BB-4C6D-8357-E12C21BF6CAA")]
public interface IVsWindowFrame4

NameDescription
System_CAPS_pubmethodGetWindowScreenRect(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.

Return to top
Show: