Re: Saving window location
Re: Saving window location
- Subject: Re: Saving window location
- From: Vince DeMarco <email@hidden>
- Date: Sat, 8 Sep 2001 02:31:13 -0700
On Friday, September 7, 2001, at 02:38 pm, Andreas Monitzer wrote:
On Friday, September 7, 2001, at 10:37 , Vince DeMarco wrote:
On Friday, September 7, 2001, at 01:27 pm, Drew Cunningham wrote:
Can anyone give me an example of Objective-C code to save the main
window'
s location between application runs? I've been trying to use
NSArchiver/
NSUnarchiver to no avail.
It would seem to be popular code to me, but I can't find any examples
specifically for window location in my searches.
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Either use IB (the name: field in the Window inspector) or the method
setFrameAutoSaveName: see
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/
ObjC_classic/Classes/NSWindow.html
Did you finally fix that ancient bug with resized controls? Otherwise I'd
only recommend it for non-resizable windows.
Yes we fixed the bug, it will work properly in the next release.
I would not make sense for me to recommend this unless it was fixed now
would it.
vince