(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/intuition.h>

BOOL SetMenuStrip (window , menu)

LOCATION
In IntuitionBase at offset 44

SYNOPSIS
struct Window * window
struct Menu * menu

FUNCTION
This function adds a MenuStrip to the Window, which can be invoked by the user after this call by pressing the right mouse button. Menus with no MenuItems will not be attached.

INPUTS
window
The window to add the MenuStrip to
menu
The menu to be added to the window above.

RESULT
TRUE if all menus have at least one menuitem.

EXAMPLE

SEE ALSO
ResetMenuStrip(), ClearMenuStrip()

NOTES
This function calculates internal values and is therfore the official way to add a new MenuStrip to Window. Always do a ClearMenuStrip() before closing the Window or adding another MenuStrip to the Window.

BUGS

INTERNALS

HISTORY
14.01.1999 hkiel
Added functions + preliminary code