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