• 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: taking control of the Window menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: taking control of the Window menu


  • Subject: Re: taking control of the Window menu
  • From: "Adam R. Maxwell" <email@hidden>
  • Date: Sun, 15 Apr 2007 08:51:24 -0700


On Apr 15, 2007, at 07:51, John R. Timmer wrote:

Overall, my sense is that i need to replace the following methods:
– windowControllers
– addWindowController:
– removeWindowController:
– shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo:


and then maintain my own list of window controllers to get this all to work.

Does this seem accurate? Any advice appreciated....

You'll need to subclass NSApplication, which manages the window menu, not NSDocument. Here's an example: <http://skim-app.svn.sourceforge.net/viewvc/skim-app/trunk/SKApplication.m?view=markup >


-- adam_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >taking control of the Window menu (From: "John R. Timmer" <email@hidden>)

  • Prev by Date: Re: taking control of the Window menu
  • Next by Date: Re: CGEventKeyboardGetUnicodeString + modifier key
  • Previous by thread: Re: taking control of the Window menu
  • Next by thread: Re: taking control of the Window menu
  • Index(es):
    • Date
    • Thread