home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / programm / 6177 < prev    next >
Encoding:
Text File  |  1992-09-15  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!psinntp!afs!greg
  3. From: greg@afs.com (Gregory H. Anderson)
  4. Subject: Re: How do I make a window respond to nothing?
  5. Message-ID: <1992Sep15.030851.1705@afs.com>
  6. Sender: greg@afs.com
  7. Reply-To: greg@afs.com
  8. References: <1992Sep9.153612.10324@aio.jsc.nasa.gov>
  9. Date: Tue, 15 Sep 1992 03:08:51 GMT
  10. Lines: 18
  11.  
  12. In article <1992Sep9.153612.10324@aio.jsc.nasa.gov>  
  13. bill@epnxt.jsc.nasa.gov writes:
  14. > I would like to create a panel to be used as a background and thus not  
  15. > respond to any thing (keyboard, mouse, ect) ...ie never become the key  
  16. > window.
  17. > I can make the window easily enough via IB but I did not see a method  
  18. > which would make the window immune to the mouse or keyboard.
  19. Under program control, use "setEventMask:" to turn off all events you  
  20. don't want to receive. The Window class docs show a list of all events and  
  21. which ones are enabled by default. You just need a different mask.
  22.  
  23. --
  24. Gregory H. Anderson          | "We're very tolerant around here,
  25. Benevolent Dictator-for-Life |  being only amateurs ourselves."
  26. Anderson Financial Systems   | - Tortoise (Godel, Escher, Bach)
  27. greg@afs.com  (Nextmail OK)  | 
  28.