Path: utzoo!attcan!telly!lethe!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ccut!s.u-tokyo!rkna50!nttlab!nttyrl!nttcvg!mase From: mase@nttcvg.NTT.JP (Kenji Mase) Newsgroups: comp.sys.sgi Subject: Re: Changing windows Keywords: input focus window mouse Message-ID: <1409@nttcvg.ntt.jp> Date: 22 Nov 90 10:08:03 GMT References: <1990Nov16.031651.21667@agate.berkeley.edu> <4125@idunno.Princeton.EDU> Sender: news@nttcvg.ntt.jp Distribution: all Organization: NTT Human Interface Laboratories, Yokosuka, Japan. Lines: 37 In-reply-to: dmlaur@phoenix.Princeton.EDU's message of 16 Nov 90 19:31:51 GMT In article <4125@idunno.Princeton.EDU> dmlaur@phoenix.Princeton.EDU writes: ::In article <1990Nov16.031651.21667@agate.berkeley.edu> sfd@earthquake.Berkeley.EDU (Scott Drellishak) writes: ::> Suppose, however, I wanted to allow the user to select the new ::> graphics window with the mouse. Is there a way to find out which ::> window the mouse is over? :: ::So ... the canonical input tracking idiom looks like this: ::...... I am new to be here and having similar problem in finding mouse position and controlling windows. I want to control(open from icon or close) windows which may be created by ***other processes*** such as wsh or so. For example, a clock, a calendar and a wsh window are opened by running user.ps when I login. Then, I want to close those windows to icons or vise versa by moving mouse cursor position in a different process calling setvaluator(MOUSEs,). This is possible on SUN workstations SunView by looing for its parent window and whose children by calling win_getlink(), win_screenget(), and so on. I assume the 4Sight system must be housekeeping those information to know which window or icon, whatever process created them, is being located by mouse, too. I can't find any documantation about this so far. Could anybody help me? Thank you. -- -kenji ========================================== Kenji Mase (mase%nttcvg.ntt.jp@relay.cs.net) Vision and Graphics group Visual Perception Lab. NTT Human Interface Labs. Nippon Telegraph and Telephone Corp. , Japan