• 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: NSWindow not restoring location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow not restoring location


  • Subject: Re: NSWindow not restoring location
  • From: Brock Brandenberg <email@hidden>
  • Date: Fri, 12 Jul 2002 14:31:39 -0500

Hi Jim.

> Doesn't NSWindowController handle calling setFrameUsingName: for you?
>
>> On Thursday, July 11, 2002, at 04:42 AM, Brock Brandenberg wrote:
>> Just make sure to set your autosave name properly and call [window
>> setFrameUsingName:] in [NSWindowController windowDidLoad].

My mistake. You're right. It should if the autosave name is set. In my
subclasses, I call it anyway, and if it returns NO, I use a calculated
position for my window, so I generally have explicit code for it in my
subclass. This brings up an interesting point. This could be the cause of
the superclass controller trying to cascade the window on its own
setFrameUsingName. I'll look into this.

Thanks,
Brock

----- industrial design @ www.bergdesign.com ------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSWindow not restoring location (From: James DiPalma <email@hidden>)

  • Prev by Date: How to track down "free'd" objects
  • Next by Date: Re: How to track down "free'd" objects
  • Previous by thread: Re: NSWindow not restoring location
  • Next by thread: Scrolling tables sideways
  • Index(es):
    • Date
    • Thread