window_get_parameter_c

	status.i4.v = window_get_parameter_c(window_id.i2.v, parameter.i4.v)

	This routine allows the reading of various window parameters.

	window_id	window ID
	parameter	type of parameter to read
			(WMNGR_PARAM_LINE_LENGTH -> window text line length,
			 WMNGR_PARAM_TOTAL_LINES -> total number of lines in
						    the window's scroll buffer,
			 WMNGR_PARAM_CLIPPING -> window clipping state,
			 WMNGR_PARAM_SCROLLBAR -> vertical scroll bar state,
			 WMNGR_PARAM_HORZ_SCROLLBAR -> horizontal scroll bar
						       state,
			 WMNGR_PARAM_SCROLL_LIMIT -> maximum number of lines
						     in the scroll buffer,
			 WMNGR_PARAM_SCROLL_OFFSET -> vertical scroll offset,
			 WMNGR_PARAM_LINES_VISIBLE -> number of scroll buffer
						      lines in the visible
						      window,
			 WMNGR_PARAM_LINES_BELOW -> number of scroll buffer
						    lines below the visible
						    window,
			 WMNGR_PARAM_HSCROLL_OFFSET -> horizontal scroll offset,
			 WMNGR_PARAM_RESIZE_MODE -> window resize mode,
			 WMNGR_PARAM_HSCROLL_INC -> minimum horizontal scroll
						    increment,
			 WMNGR_PARAM_HSCROLL_PAGE_INC -> horizontal page scroll
							 increment,
			 WMNGR_PARAM_VSCROLL_INC -> minimum vertical scroll
						    increment,
			 WMNGR_PARAM_VSCROLL_PAGE_INC -> vertical page scroll
							 increment,
			 WMNGR_PARAM_SCROLL_IO -> scroll buffer I/O handling,
			 WMNGR_PARAM_RESTORE_MODE -> screen restore mode,
			 WMNGR_PARAM_BORDER_COLOR -> border color,
			 WMNGR_PARAM_BORDER_STYLE -> border style,
			 WMNGR_PARAM_TITLE_COLOR -> title color,
			 WMNGR_PARAM_POPUP -> popup window status,
			 WMNGR_PARAM_OCCLUDED_INTS -> occluded interrupt
						      handling,
			 WMNGR_PARAM_OCCLUDED_MOVES -> occluded move
						       handling)

	This function returns status values as follows:

	CBS_MEMFAIL		dynamic memory allocation failure
	CBS_INVARG		invalid window ID or parameter value
	CBS_NO_WINDOW		requested window does not exist
	CBS_INVTYP		window does not have the affected feature
	CBS_NOTYET		requested parameter type is not supported
	negative value		other ACNET error value
	otherwise		value of requested parameter

	Valid values for WMNGR_PARAM_CLIPPING are:

	WMNGR_NO_CLIP		clipping is disabled
	WMNGR_CLIP_IT		clipping is enabled

	Valid values for WMNGR_PARAM_SCROLLBAR are:

	WMNGR_NO_SCROLL		vertical scroll bar is not present
	WMNGR_SCROLL_IT		vertical scroll bar is present
	WMNGR_SCROLL_DISABLED	vertical scroll bar is present but disabled

	Valid values for WMNGR_PARAM_HORZ_SCROLLBAR are:

	WMNGR_NO_SCROLL		horizontal scroll bar is not present
	WMNGR_HORZ_SCROLL_IT	horizontal scroll bar is present

	Valid values for WMNGR_PARAM_RESIZE_MODE are:

	WMNGR_RESIZE_BOTH	resize both dimensions
	WMNGR_RESIZE_HEIGHT	resize height only
	WMNGR_RESIZE_WIDTH	resize width only

	Valid values for WMNGR_PARAM_SCROLL_IO are:

	WMNGR_SCROLLIO_ENABLED	scroll buffer I/O is enabled
	WMNGR_SCROLLIO_DISABLED	scroll buffer I/O is disabled

	Valid values for WMNGR_PARAM_RESTORE_MODE are:

	WMNGR_REPAINT			repaint underlying windows
	WMNGR_RESTORE_BACKGROUND	repaint obscured text

	Valid values for WMNGR_PARAM_BORDER_STYLE are:

	WMNGR_BORDER_NONE		no border
	WMNGR_BORDER_THIN		thin lined border (default style)
	WMNGR_BORDER_THICK		thick lined border

	Valid values for WMNGR_PARAM_POPUP are:

	WMNGR_IS_POPUP			is a popup window
	WMNGR_NOT_POPUP			is not a popup window

	Valid values for WMNGR_PARAM_OCCLUDED_INTS are:

	WMNGR_OCC_INTS_ENABLED		occluded interrupts are enabled
	WMNGR_OCC_INTS_DISABLED		occluded interrupts are disabled

	Valid values for WMNGR_PARAM_OCCLUDED_MOVES are:

	WMNGR_OCC_MOVES_ENABLED		occluded moves are enabled
	WMNGR_OCC_MOVES_DISABLED	occluded moves are disabled

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	window_set_parameter_c, window_construct(_c), window_set_clip_c,
	window_set_scroll_limit_c, window_set_resize_mode_c,
	window_enable_occluded_ints_c, window_disable_occluded_ints_c,
	window_enable_scroll_io(_c), window_disable_scroll_io_c,
	window_scroll(_c), window_scroll_page_c, window_hscroll_c,
	window_hscroll_page_c, window_scroll_offset_c, window_hscroll_offset_c,
	window_total_lines_c, intro_tv_windows

	C/C++ usage:

	short	window_id;
	int	status;
	int	parameter = WMNGR_PARAM_LINE_LENGTH;

	status = window_get_parameter_c(window_id,parameter);