wn_device_control_window_c (ul_dialoglib)

	status.i4.v = wn_device_control_window_c(x.r8.v, y.r8.v,

	This routine creates a window to perform basic control commands
	on a device.

	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)
	device_index	device index of device to control
	[array_index]	array index of device to set (default is 0)
	[options]	optional control window feature flags
			(DIALOGLIB_OPT_NONE -> no special options requested
			 DIALOGLIB_OPT_ALLOW_REPLACEMENT -> close dialog window
							    when another modal
							    dialog requests to
			 DIALOGLIB_OPT_CLOSE_ON_ACTION -> close the window
							  as soon as any
							  control action is
	[help_info]	help callback information
			(structure of type HELP_CALLBACK_DATA)
			(default is NULL)

	This function returns ACNET status values as follows:

	OK			success
	CBS_INVARG		invalid array index value
	CBS_MEMFAIL		dynamic memory allocation failure
	CBS_WINDOW_TOO_BIG	window won't fit on screen
	CBS_NOT_ENABLED		device cannot be set
	DIO_NOATT		no basic control attribute exists
	DIO_xxx			error accessing device

	This function requires the following include files:

	ul_dialoglib_h:dialoglib_h, cns_data_structs_h, acnet_errors_h

	Related functions:

	device_control_window_c, wn_setting_window_c, setting_window_c,
	wn_timer_window_c, timer_window_c, timer_list_window_c

	C/C++ usage:

	int	status;
	int	coordinate_type = WN_PIXEL_COORDS;
	int	device_index = 14430;
	int	array_index = 0;
	unsigned int	options = DIALOGLIB_OPT_NONE;
	double	x = 0;
	double	y = 0;

	status = wn_device_control_window_c(x,y,coordinate_type,device_index,