ToolBarHeight()

Syntax

Result = ToolBarHeight(#ToolBar)
Description
Returns the height (in pixels) of the toolbar. This is useful for correct calculation on window height when using a toolbar.

Parameters

#ToolBar The toolbar to use.

Return value

Returns the height (in pixels) of the toolbar.

Remarks

On OS X this command returns 0, as the toolbar is not part of the window inner height so no calculation is needed.

See Also

CreateToolBar()

Supported OS

All

<- ToolBarButtonText() - ToolBar Index - ToolBarID() ->