Toolbars
A Toolbar is a container for other controls, usually buttons. A ToolBar resides at the top of the window. Any controls in it are sent messages directly so you can view them like any other control of that type. When a control is created for a Toolbar the 'x' parameter becomes a displacement from the previous control added. A small separation can be made between clumps of controls by 'creating' a ToolSep, eg:
void = create(ToolSep, 0, 0, TOOLBARMAIN, 0, 0, 0, 0, 0)