Article View: comp.sys.next.programmer
Article #1078Re: How do I make a window respond to nothing?
From: Gregory H. Anderson
Date: Tue, 15 Sep 1992 03:08
Date: Tue, 15 Sep 1992 03:08
18 lines
1221 bytes
1221 bytes
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) |
Technical Details
Message-ID:
<1992Sep15.030851.1705@afs.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!psinntp!afs!gregReferences:
<1992Sep9.153612.10324@aio.jsc.nasa.gov>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!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