WindSet( win, WF_TOOLBAR, tool, do_tool);puts the toolbar tool in the window win. All toolbar's events with be catch by the function do_tool. The parameter do_tool can be NULL. The call :
WindSet( win, WF_TOOLBAR, NULL, NULL);removes the toolbar from the window win.