wn_decide_c

	decision.i4.v = wn_decide_c(x.r8.v, y.r8.v, coordinate_type.i4.v,
				    text.i1a.r, text_length.i4.v
				    [,line_length.i4.v] [,deflt_choice.i4.v]
				    [,text_color.i4.v] [,title.i1a.r]
				    [,word_wrap.i4.v] [,help_info.s.r]
				    [,switch_help.sa.r])

	This routine will display a decision window with two choices
	(OK and Cancel) having its upper left hand corner at ("top_row",
	"left_column").  A value of TRUE will be returned if an interrupt
	occurs in the OK field.  Otherwise, a value of FALSE is returned.
	"text" is an informational text string (prompt) while "text_length"
	is the length of the message string.  The prompt text will be
	divided into 30 character (default) lines at word breakpoints.
	Shorter or longer breakpoints can be forced by embedding null or
	new line characters where line breaks are desired.  If "text_length"
	is negative, the cursor will be placed in the CANCEL field upon
	initialization.

	x		x location of the upper left hand corner of the
			window relative to the parent graphic window
	y		y location of the upper left hand corner of the
			window relative to the parent graphic window
	coordinate_type	type of coordinate values passed
			(WN_WORLD_COORDS -> normal window world coordinates,
			 WN_PIXEL_COORDS -> raw pixel coordinates)
	text		informational text string
	text_length	length of text string  (If this value is zero,
			the length of the text string will be determined
			by this routine.  Don't use this feature if there
			are embedded nulls in the text string.)
	[line_length]	number of characters per line (default is 30)
			(If this value is zero, the line length will be
			 determined by this routine.)
	[deflt_choice]	determines the field in which the cursor will
			initially be placed
			(DECIDE_OK -> OK field,
			 DECIDE_CANCEL -> cancel field)
	[text_color]	message text color (default is GREEN)
	[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. (default is NULL)
	[word_wrap]	word wrap flag for multiple line messages
			(TRUE -> wrap lines on word boundaries (default),
			 FALSE -> no word wrapping)
	[help_info]	help callback information
			(structure of type HELP_CALLBACK_DATA)
			(default is NULL)
	[switch_help]	array of two help callback information structures
			for the "OK" and "Cancel" switches
			(array of HELP_CALLBACK_DATA structures)
			(default is NULL)

	This function returns status values as follows:

	TRUE			OK field selected
	FALSE			Cancel field selected
	CBS_WINDOW_TOO_BIG	window won't fit on screen
	CBS_NOTENB		not enabled for this process

	This function requires the following include files:

	cnsparam_h, cbslib_h, macro_h, acnet_errors_h

	Related functions:

	wn_decide_multiple_c, wn_acknowledge_c, decide_multiple_c,
	file_decide_c, acknowledge(_c), calc_line_length_c,
	dialog_setup_c, window_restore_hint_c

	C/C++ usage:

	static const char	text[] = "Message string";
	static const char	title[] = "Title";
	int	decision;
	int	coordinate_type = WN_PIXEL_COORDS;
	int	text_length = 0;
	int	line_length = 0;
	int	default_choice = DECIDE_OK;
	int	text_color = GREEN;
	int	word_wrap = TRUE;
	double	x = 0;
	double	y = 0;
	HELP_CALLBACK_DATA	*help_info = (HELP_CALLBACK_DATA *) NULL;
	HELP_CALLBACK_DATA	*switch_help = (HELP_CALLBACK_DATA *) NULL;

	decision = wn_decide_c(x,y,coordinate_type,text,text_length,
			       line_length,default_choice,text_color,
			       title,word_wrap,help_info,switch_help);