Re: First click when activated
Re: First click when activated
- Subject: Re: First click when activated
- From: j o a r <email@hidden>
- Date: Tue, 9 May 2006 17:46:21 +0200
On 9 maj 2006, at 15.46, A.M. wrote:
If you want to do this for an entire window, one solution is to drop a
transparent window over the existing window, however, this behavior
would
probably be unexpected and non-HIG-compliant.
That was a spectacularly bad suggestion...
You need to enhance your user interface validation routines to: [1]
Notice changes to the key window (there are notifications / delegate
methods for this, check the documentation for NSWindow), and [2] to
return the proper enabled / disabled value matching the current state
of the window.
For items in a NSToolbar things are easier, as they will validate
automatically when the window changes key state, so the only thing
you need to do in that case is to fix the validation routine.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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