Re: NSWindow not restoring location
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.