CreateToolBar()

Syntax

Result = CreateToolBar(#ToolBar, WindowID)

Description

Create an empty toolbar identified by the number '#ToolBar' on the given window. WindowID can be easely get with the WindowID() command. This toolbar become the default toolbar for creation and it's possible to use ToolBarStandardButton() and ToolBarSeparator() to add some elements to this toolbar. If the 'Result' is 0, the toolbar can't be created, else all is fine.

Supported OS

Windows, Linux

ToolBar - Index