wn_has_focus_c (ul_wnlib)

	has_focus.i4.v = wn_has_focus_c(screen.i4.v)

	This routine determines if the requested graphics window of the
	calling program has focus.

	screen		graphics screen to receive focus
			(WN_SCREEN_1 -> graphics screen #1 (This is the same
					as GXPA_1 for a PA and is the only
					acceptable value to use for an SA.),
			 WN_SCREEN_2 -> graphics screen #2 (This is the same
					as GXPA_1 for a PA and should never
					be used for an SA.)

	This function returns status values as follows:

	CBS_INVARG		invalid screen value passed
	CBS_NOTENB		invalid calling environment
	TRUE			requested graphics window has focus
	FALSE			window does not have focus

	This function requires the following include files:

	ul_wnlib_h:wnlib_h, cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	wn_wait_for_focus_c

	C usage:

	int	has_focus;
	int	screen = WN_SCREEN_1;

	has_focus = wn_has_focus_c(screen);