home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!usc!cs.utexas.edu!torn!news.ccs.queensu.ca!psyclops.psyc.queensu.ca!tarun
- From: tarun@psyclops.psyc.queensu.ca (Tarun Kripalani)
- Subject: Minor problem with tie.
- Message-ID: <Bs99HK.9B0@knot.ccs.queensu.ca>
- Sender: news@knot.ccs.queensu.ca (Netnews control)
- Organization: Dept. Of Psychology, Queen's University, Kingston
- Date: Fri, 31 Jul 1992 13:29:44 GMT
- Lines: 20
-
- I am currently writing a simple program that uses 2 windows.
- I have queued both Mouse valuators (MOUSEX and MOUSEY) and
- LEFTMOUSE. In one window I am concerned with only the cursor
- position and therefore react to a MOUSEX and MOUSEY event. In
- the next window I have a slidebar which requires all three
- devices so I tie them together with:-
-
- tie(LEFTMOUSE,MOUSEX,MOUSEY);
-
- So, my slidebar works fine. Then I untie the valuators when I
- switch back to the first window and I notice that both MOUSEX
- and MOUSEY events are no longer on the event queue. I read the
- man on tie and there is no mention that untying valuators removes
- them from the event queue. Is that the way it is suppossed to be?
- --
-
- Tarun Kripalani (of Wounded Knee and now Wounded Shoulder)
- e-mail: tarun@psyclops.psyc.queensu.ca
- Dept. of Psychology, Queen's University,
- Kingston, Ontario.
-