Instead, you use a frame window function, ShowControlBar, to show and hide the toolbar.
This function takes three arguments. The first argument is the address for the toolbar
variable. The second argument is a boolean, specifying whether to show the toolbar