IVsToolWindowToolbar::SetBorderSpace Method (array<RECT>^)

 

Sets the border space for a tool window after the toolbar is placed.

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

int SetBorderSpace(
	array<RECT>^ pbw
)

Parameters

pbw
Type: array<Microsoft.VisualStudio.OLE.Interop::RECT>^

[in] Border space for the tool window.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

This method returns the coordinates of the usable area in the specified RECT after the toolbar is placed.

From vsshell.idl:

HRESULT IVsToolWindowToolbar::SetBorderSpace(
   [in] LPCBORDERWIDTHS pbw
);
Return to top
Show: