window_find_text_c

	status.i4.v = window_find_text_c(window_id.i2.v [,command.i4.v]
					 [,search_string.i1a.r])

	This routine will allow the user to search a TV window for
	a given text string.  This routine must be preceded by a
	call to window_find_init_c.

	window_id	window ID for window to be searched
			(use WMNGR_BACKGROUND for background window)
	[command]	find command
			(WMNGR_FIRST -> display find dialog (default),
			 WMNGR_NEXT -> find next occurrence of previously
				       requested string,
			 WMNGR_PREVIOUS -> find previous occurrence of
					   previously requested string)
	[search_string]	string to search for  (If a value of NULL (default)
			is passed for this argument, the user will be
			prompted to enter a search string.)
			(default is NULL)

	This function returns ACNET status values as follows:

	OK			success
	CLIB_MEMFAIL		dynamic memory allocation failure
	CLIB_NO_SUCH		requested window doesn't exist

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	window_find_init_c, window_find_text_callback_c, window_find_delete_c

	C/C++ usage:

	char	*search_string = (char *) NULL;
	short	window_id = WINDOW_ID;
	int	status;
	int	command = WMNGR_FIRST;
	unsigned int	options = WMNGR_OPT_SCREEN_COORDS;

	status = window_find_text_c(window_id,command,search_string);

	Example:

	window_find_init_c(window_id,screen_row_c(window_id,COMMAND_ROW),
			   screen_column_c(window_id,COMMAND_COLUMN),
			   options);

	window_border_button_c(window_id,WMNGR_TOP_BORDER,COMMAND_COLUMN,
			       "Find",0,CYAN,SYMBOL_DIAMOND,YELLOW,
			       window_find_text_c);