When do documents position windows?
When do documents position windows?
- Subject: When do documents position windows?
- From: Donald Brown <email@hidden>
- Date: Thu, 06 Jun 2002 10:18:35 -0500
I'm having a lot of trouble getting my document windows to remember
position. I've given up on autosaveframename, and instead am calling
setFrameUsingName from my Document's windowControllerDidLoadNib
saveFrameUsingName from the window's delegate windowWillClose method
In both places, I call NSLog([[self window] stringWithSavedFrame]); and I
get the same result on open that I had on the previous load. And yet, my
document is shifted down about an inch and to the right about a half inch.
So, apparently something (I presume the document class) is shifting my
window behind my back.
Should I be calling setFrameUsingName elsewhere? Or is there some other
reason I haven't figured out. I had been setting setFrameAutosaveName from
the windowControllerDidLoadNib, with the same result.
Tis a puzzlement.
Donald
--
Donald Brown
email@hidden
http://www.eamontales.com
We have met the enemy and he is us - Pogo
_______________________________________________
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.