• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: First click when activated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: First click when activated
      • From: Joachim Deelen <email@hidden>
References: 
 >Clip/ScrollView image scrambling (From: Scott Thompson <email@hidden>)
 >Re: Clip/ScrollView image scrambling (From: "I. Savant" <email@hidden>)
 >First click when activated (From: Valerio Ferrucci <email@hidden>)
 >Re: First click when activated (From: "A.M." <email@hidden>)

  • Prev by Date: Job opening - NovaMind Software: Brisbane, Australia
  • Next by Date: Re: CoreData - placing "references" to objects on the general pasteboard
  • Previous by thread: Re: First click when activated
  • Next by thread: Re: First click when activated
  • Index(es):
    • Date
    • Thread