select_field_text_to_id_c

	status.i4.v = select_field_text_to_id_c(search_window.i2.v, text.i1a.r,
						text_type.i4.v, window_id.i2.r,
						select_id.i4.r)

	This routine returns the window ID and select ID for a select
	field having given handle or label string.  A value of NULL
	can be passed for either of the returned arguments.

	search_window	window ID to search
			(WMNGR_ALL_WINDOWS -> search all windows,
			 otherwise -> search specific window)
	text		null terminated ASCII string whose interpretation
			depends on "text_type"
	text_type	type of text to match
			(SELECT_FIELD_BY_HANDLE -> match text string to the
						   select field handle,
			 SELECT_FIELD_BY_LABEL -> match text string to the
						  select field label)
			(These values can be ORed together to make a
			 combined search.)
	window_id	returned window ID
	select_id	returned select ID

	This function returns ACNET status values as follows:

	OK			success
	CBS_DUPREQ		multiple matches were found
				(data for the first match is returned)
	CBS_NO_SUCH		select field doesn't exist

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	select_field_init_c, select_field_update_c, select_field_register_c,
	select_field_read_c, select_field_set_c, select_field_set_by_value_c,
	select_field_enable_c, select_field_disable_c, select_field_delete_c,
	select_field_display_info_c

	C/C++ usage:

	static const char	text[] = "matching text";
	short	search_window = WMNGR_ALL_WINDOWS;
	short	window_id;
	int	status;
	int	text_type = SELECT_FIELD_BY_HANDLE;
	int	select_id;

	status = select_field_text_to_id_c(search_window,text,text_type,
					   &window_id,&select_id);