Toolbars Handle a toolbar
Programming guideline of WinDom

Put a toolbar in a window

Just use the WindSet() function with the WF_TOOLBAR mode. The call :

    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.