Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!julius.cs.uiuc.edu!apple!agate!earthquake.Berkeley.EDU!sfd From: sfd@earthquake.Berkeley.EDU (Scott Drellishak) Newsgroups: comp.sys.sgi Subject: Changing windows Summary: how to get window id Message-ID: <1990Nov16.031651.21667@agate.berkeley.edu> Date: 16 Nov 90 03:16:51 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator) Reply-To: sfd@earthquake.Berkeley.EDU (Scott Drellishak) Organization: ucb Lines: 12 I know how to change the current window using the gl libraries. I call a certain routine (whose name eludes me) with the window id of the window I want to become the current graphics window. Suppose, however, I wanted to allow the user to select the new graphics window with the mouse. Is there a function which returns the id of the window the mouse is currently contained by (ACK! I've ended a sentence with a preposition)? And don't tell me to RTFM. I'm just a student, and the full manuals for the machines (Personal Irises, by the way) are locked away in a vault somewhere. Thanks in advance. Scott Drellishak, sfd@ocf.berkeley.edu