I don't know that this is a secret recipe but it works for me when I include 
the following 2 lines of code in the awakeFromNib method of the NSview in the 
window...

   [[self window] setFrameUsingName: @"autosaveView"];
   [[self window] setFrameAutosaveName: @"autosaveView"];

And I don't know that it's significant but in the init method for the same 
NSView I declare and initialize the standard defaults.


On Jun 22, 2012, at 12:10 PM, koko wrote:

> I have searched, read and implemented the suggestions found  but in no case 
> can I get a non-resizeable window or panel to open in the last position it 
> occupied.
> 
> There must be some secret sauce, is anyone willing to share the recipe?
> 
> -koko
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please 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:
> https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
> 
> This email sent to 3tothe...@comcast.net

Charlie Dickman
3tothe...@comcast.net




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to