Re: Locking Access to Windows
Re: Locking Access to Windows
- Subject: Re: Locking Access to Windows
- From: Matt Neuburg <email@hidden>
- Date: Mon, 09 May 2005 18:25:59 -0700
On Mon, 9 May 2005 16:07:51 -0500, Kevin Cox <email@hidden> said:
>I am trying to find in the Cocoa docs how to lock an application window
>from input when a child window is in place. For instance, you click a
>button in the main app window and another window is launched. How do
>you lock the main app window from input until the other window is
>closed?
If this is really necessary you could disable all the interface items in the
main app window. But you're describing a situation that should, in effect,
be impossible. If opening window 2 means the user should not interact with
window 1 then why not just hide window 1? Or, as already suggested, make
window 2 a sheet of window 1, which disables window 1 automatically. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden