window_create(_c)

	status.i4.v = window_create(left_column.i4.r, top_row.i4.r,
				    right_column.i4.r, bottom_row.i4.r,
				    no_write.i4.r, border_color.i4.r,
				    title_color.i4.r, title.i1a.r,
				    window_id.i2.r, [,clip_it.i4.r]
				    [,scroll_it.i4.r] [,move_it.i4.r]
				    [,restore_mode.i4.r] [,border_style.i4.r])

	status.i4.v = window_create_c(left_column.i4.v, top_row.i4.v,
				      right_column.i4.v, bottom_row.i4.v,
				      no_write.i4.v, bordercolor.i4.v,
				      title_color.i4.v, title.i1a.r,
				      window_id.i2.r [,clip_it.i4.v]
				      [,scroll_it.i4.v] [,move_it.i4.v]
				      [,restore_mode.i4.v] [,border_style.i4.v])

	This function creates a window on the main console TV.  It may
	only be called by primary applications.  The window may be deleted
	and any occluded text restored by use of the window_delete(_c)
	function.  Overlapping windows are automatically managed by the
	"window_" routines as int as they are used for all static I/O
	operations.  This includes automatic text clipping, moving and
	resizing windows, restacking windows, etc.  If the value of
	"restore_mode" is specified as WMNGR_RESTORE_BKGND, the
	window should be considered to be a popup window which is in
	front of all other windows.  Creation of a window of this type
	will inhibit moving, resizing, and popping to the top of other
	windows on the screen for the duration of the window's existence.
	Please note that the screen coordinates are not in the usual
	(row, column) format, but are (column, row).
	(Note: window_construct(_c) is preferred over this routine for
	creating TV windows.)

	left_column	left column of the window (full screen coordinates)
	top_row		top row of the window (full screen coordinates)
	right_column	right column of the window (full screen coordinates)
	bottom_row	bottom row of the window (full screen coordinates)
	no_write	initialize window display flag
			(WMNGR_DRAW_IT -> window area will be blanked out and
					  a border (if requested) will be drawn,
			 WMNGR_NO_DRAW -> no drawing will be done to the
					  window area)
	border_color	window border color (constants are in 'cnsparam')
	title_color	color in which title text will be displayed
			(constants are in 'cnsparam')
	title		a null-terminated text string (ie. a quoted literal)
			to be written to the top line of the window. It may
			be no longer than the width of the window minus
			four characters.  (Note: A null pointer may be passed
			if no title is desired.)
	window_id	returned window ID which is used in subsequent calls
			to "window_" routines to reference this window
	[clip_it]	window clipping flag
			(WMNGR_CLIP_IT -> prevent reading and writing on
					  scroll bars and window borders,
			 WMNGR_NO_CLIP -> allow reading and writing on scroll
					  bars and window borders)
			(default is WMNGR_CLIP_IT)
	[scroll_it]	scroll bar parameter
			(WMNGR_NO_SCROLL -> no scroll bar (default),
			 WMNGR_SCROLL_IT -> make a vertical scroll bar region
					    on the right side of the window,
			 WMNGR_SCROLL_DISABLED -> make a vertical scroll bar,
						  but don't display slider,
			 WMNGR_HORZ_SCROLL_IT -> make a horizontal scroll
						 bar on the bottom of
						 the window)
			(Note: The values WMNGR_SCROLL_IT or
			 WMNGR_SCROLL_DISABLED can be logically OR'ed together
			 with WMNGR_HORZ_SCROLL_IT to create a window with both
			 a vertical and a horizontal scroll bar.)
			(Note: If a value of WMNGR_SCROLL_DISABLED is passed,
			 the scroll slider can be enabled by a call to
			 window_enable_scroll_slider_c.)
	[move_it]	optional argument to enable user-controlled
			window moving and resizing when used in conjunction
			with window_intype
			(WMNGR_NO_MOVE -> moving and resizing disabled,
			 WMNGR_MOVE_IT -> moving enabled,
			 WMNGR_RESIZE_IT -> resizing enabled,
			 WMNGR_MOVE_AND_RESIZE -> moving and resizing enabled)
			(default is WMNGR_NO_MOVE)
	[restore_mode]	optional argument which allows the programmer to
			choose the screen restore mode upon window deletion
			(WMNGR_REPAINT -> repaint underlying windows (default),
			 WMNGR_RESTORE_BACKGROUND -> repaint obscured text)
	[border_style]	(WMNGR_BORDER_NONE -> no border,
			 WMNGR_BORDER_THIN -> thin lined border (default),
			 WMNGR_BORDER_THICK -> thick lined border)

	This function returns ACNET status values as follows:

	OK			success
	CBS_MEMFAIL		dynamic memory allocation failure
	CBS_INVARG		window coordinate values are out of order
	CBS_INVSIZ		window is too small for the features requested
	CBS_WINDOW_OFF_SCRN	window extends off of the visible screen

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	window_construct(_c), window_delete(_c), window_enable_scroll_slider_c,
	window_enable_scroll_status_c, window_tvm(_c), window_tvmx(_c),
	window_enable_scroll_io(_c), intro_tv_windows

	C/C++ usage:

	static const char	title[] = "Title";
	short	window_id;
	int	status;
	int	left_column = 1;
	int	top_row = 5;
	int	right_column = 22;
	int	bottom_row = 9;
	int	no_write = WMNGR_DRAW_IT;
	int	border_color = BLUE;
	int	title_color = YELLOW;
	int	clip_it = WMNGR_CLIP_IT;
	int	scroll_it = WMNGR_NO_SCROLL;
	int	move_it = WMNGR_MOVE_IT;
	int	restore_mode = WMNGR_REPAINT;
	int	border_style = WMNGR_BORDER_THIN;

	status = window_construct_c(left_column,top_row,right_column,bottom_row,
				    no_write,border_color,title_color,
				    title,&window_id,clip_it,scroll_it,
				    move_it,restore_mode,border_style);