I have a menu:
#include <exec/types.h>
#include <intuition/intuition.h>
#include <libraries/gadtools.h>
/* Prototypes for system functions. */
#include <proto/exec.h>
#include <proto/intuition.h>
#include <proto/gadtools.h>
/* ANSI C includes. */
#include <stdio.h>
struct IntuitionBase *IntuitionBase = NULL;
struct Library *GadToolsBase = NULL;
struct NewMenu window_menu[] =
{
{ NM_TITLE, "Project", 0 , 0, 0, 0, },
{ NM_ITEM, "Open...", "O", 0, 0, 0, },
{ NM_ITEM, "Save", "s", 0, 0, 0, },
{ NM_ITEM, "Save As...", "S", 0, 0, 0, },
{ NM_ITEM, NM_BARLABEL, 0, 0, 0, 0, },
{ NM_ITEM, "Quit", "Q", 0, 0, 0, },
{ NM_END, NULL, 0, 0, 0, 0, },
};
#define PROJECT_MENU 1
#define PROJECT_MENU_OPEN 2
#define PROJECT_MENU_SAVE 3
#define PROJECT_MANU_SAVE_AS 4
#define PROJECT_MENU_QUIT 5
But I cant get another menu to go next to it on the menu bar at the top of the window - any help or code suggestions are welcome.