• 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: Sheets to dialogs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sheets to dialogs


  • Subject: Re: Sheets to dialogs
  • From: Adam Leonard <email@hidden>
  • Date: Wed, 4 Jan 2006 17:01:31 -0800


On Jan 4, 2006, at 4:11 PM, John Stiles wrote:
[window makeKeyAndOrderFront:NULL];

That should be "nil" or "self"

As for your question, see <http://developer.apple.com/documentation/ Cocoa/Reference/ApplicationKit/ObjC_classic/Protocols/ NSMenuValidation.html#//apple_ref/occ/instm/NSObject/validateMenuItem:>

The selector you want is terminate:

Hope that helps
_______________________________________________
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: Sheets to dialogs
      • From: John Stiles <email@hidden>
References: 
 >Sheets to dialogs (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Checkboxes in Table Views
  • Next by Date: Re: Sheets to dialogs
  • Previous by thread: Sheets to dialogs
  • Next by thread: Re: Sheets to dialogs
  • Index(es):
    • Date
    • Thread