This example shows how to dynamically add objects to a tool bar, as well as how to display or hide it. Click the buttons to add objects to the tool bar. Click the checkbox to hide or display the tool bar.