home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11703 < prev    next >
Encoding:
Text File  |  1992-07-31  |  1.3 KB  |  31 lines

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