• 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: Address Book-like Window Menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Address Book-like Window Menu


  • Subject: Re: Address Book-like Window Menu
  • From: Erik Mendoza <email@hidden>
  • Date: Tue, 26 Apr 2005 10:14:34 -0700

Thanks, that worked wonderfully.

Erik


On Apr 26, 2005, at 9:29 AM, j o a r wrote:


On 2005-04-26, at 18.23, Erik Mendoza wrote:

Address Book's Window menu keeps a reference to the main window at all times, with a checkmark next to it if the window is open. What would be the best way of going about doing this? I've tried just adding an item to the menu in Interface Builder and connecting it to makeKeyAndOrderFront:, but because of the way the menu is automatically populated, I wind up with redundant entries, or the entry disappears nevertheless. Thanks in advance for any help.

Check the documentation for -[NSWindow setExcludedFromWindowsMenu:].

j o a r


_______________________________________________ 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
References: 
 >Address Book-like Window Menu (From: Erik Mendoza <email@hidden>)
 >Re: Address Book-like Window Menu (From: j o a r <email@hidden>)

  • Prev by Date: Re: Binding button.enabled to "NSTextField is not empty"
  • Next by Date: Re: A Question about [[self superview] doSomething]
  • Previous by thread: Re: Address Book-like Window Menu
  • Next by thread: A Question about [[self superview] doSomething]
  • Index(es):
    • Date
    • Thread