IVsButtonBar::SetHeight Method (Int32)

 

Specifies the height of the button bar.

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

int SetHeight(
	int iHeight
)

Parameters

iHeight
Type: System::Int32

[in] The height of the button bar.

Return Value

Type: System::Int32

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

From textmgr.idl:

HRESULT IVsButtonBar::SetHeight(
   [in] long iHeight
);

IVsButtonBar.SetHeight is called by the parent; clients need not call this unless writing another owner for the button bar.

Return to top
Show: