window_has_focus (ul_windowlib)

	has_focus.i4.v = window_has_focus()

	This routine determines if the calling program's background window
	has focus.

	This function returns status values as follows:

	CBS_NOTENB		invalid calling environment
	TRUE			background window has focus
	FALSE			window does not have focus

	This function requires the following include files:

	ul_windowlib_h:windowlib_h, cnsparam_h, acnet_errors_h

	Related functions:

	window_wait_for_focus

	C/C++ usage:

	int	has_focus;

	has_focus = window_has_focus();