• 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: Retaining state of windows and panels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retaining state of windows and panels


  • Subject: Re: Retaining state of windows and panels
  • From: Henry McGilton <email@hidden>
  • Date: Sun, 16 Jan 2005 14:23:57 -0800


On Jan 16, 2005, at 1:51 PM, Chad Armstrong wrote:

I would like to be able to retain information of an NSPanel (a floating palette), such as where the panel is, its size, whether it is open or not, and have those settings be restored when the application is opened again. Is there a simple way about doing this, or is this a more involved procedure on saving the window's (or panel's) information before the application is closed?

Look in the NSWindow documentation under the heading:

         Saving the frame to user defaults

    Cheers,
		........  Henry


===============================+============================ Henry McGilton, Boulevardier | Trilithon Software Objective-C/Java Composer | Seroia Research -------------------------------+---------------------------- mailto:email@hidden | http://www.trilithon.com | ===============================+============================

_______________________________________________
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: 
 >Retaining state of windows and panels (From: Chad Armstrong <email@hidden>)

  • Prev by Date: Re: NSData testing for NULL
  • Next by Date: Re: Building with Subclasses
  • Previous by thread: Retaining state of windows and panels
  • Next by thread: Re: Retaining state of windows and panels
  • Index(es):
    • Date
    • Thread