IVsToolWindowToolbar::GetBorder Method (array<RECT>^)
Visual Studio 2015
Returns the border information for a tool window.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- prc
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::RECT>^
[out] Pointer to the location and size of the tool window border.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
The RECT provided in this method represents the coordinates of the surface inside the tool window that hosts the toolbar. If the toolbar is hosted inside the whole tool window (not just in a control inside the tool window), the RECT can be the same as the RECT of the tool window content.
From vsshell.idl:
HRESULT IVsToolWindowToolbar::GetBorder( [out] RECT *prc );
Show: