menu_bar_create

	status.i4.v = menu_bar_create(field_text.i1a.r [,funcs.fa.r] [,row.i4.v]
				      [,color.i4.v] [,auto_update.i4.v]
				      [,func_data.ga.r] [,help_info.sa.r])

	This routine will create a menu bar on the TV screen.

	field_text	null terminated string containing the menu bar
			field labels separated by back slashes
	[funcs]		pointers to functions to be called by
			menu_bar_update when a field is clicked on
			(called as follows:
			 funcs(wid.i2.v, func_data.g.v, mb_data.s.r)
			 ("mb_data" is a structure of type
			  MENU_BAR_INTERRUPT_DATA))
			(default is NULL)
	[row]		row to display menu bar (default is 2)
	[color]		color of menu bar (Note: The passed foreground and
			background colors are reversed by this routine.)
			(default is WHITE which produces black text on a
			 white background)
			(constants are in cnsparam)
	[auto_update]	flag to determine whether to automatically update
			(TRUE -> automatically update this menu bar
				 (application doesn't need to call
				  menu_bar_update),
			 FALSE -> update by calls to menu_bar_update
				  (default))
	[func_data]	addresses of caller-supplied data to be passed to
			"funcs" (default is NULL)
	[help_info]	entry by entry help callback information
			(array of HELP_CALLBACK_DATA structures)
			(default is NULL)

	This function returns ACNET status values as follows:

	OK			success
	CBS_TOO_MANY		there is already a menu bar present
	CBS_WINDOW_TOO_BIG	menu bar is too big to fit on the screen
	CBS_MEMFAIL		failed in allocating dynamic memory

	This function requires the following include files:

	cnsparam_h, cns_data_structs_h, cbslib_h, acnet_errors_h

	Related functions:

	menu_bar_delete, menu_bar_update, menu_bar_change_entry_c,
	menu_bar_enable_c, menu_bar_disable_c, menu_bar_dncase_entry_c,
	menu_bar_upcase_entry_c, menu_bar_field_coordinates_c,
	window_has_menu_bar_c, window_menu_bar_create_c, build_menu_bar_text,
	menu_bar_min_width_c

	C/C++ usage:

	static const char	field_text[] = "field 1\\field 2";
	int	status;
	int	row = 3;
	int	color = WHITE;
	int	auto_update = TRUE;
	void	**func_data = (void **) NULL;
	menu_bar_function	funcs[NUM_FIELDS];
	HELP_CALLBACK_DATA	*help_info = (HELP_CALLBACK_DATA *) NULL;
	void	func1(short window_id, void *callback_data,
		      MENU_BAR_INTERRUPT_DATA *mb_data);
	void	func2(short window_id, void *callback_data,
		      MENU_BAR_INTERRUPT_DATA *mb_data);

	funcs[0] = func1;
	funcs[1] = func2;

	status = menu_bar_create(field_text,funcs,row,color,auto_update,
				 func_data,help_info);