• 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
When do documents position windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: When do documents position windows?
      • From: Marco Scheurer <email@hidden>
    • RE: When do documents position windows?
      • From: "Jonathan E. Jackel" <email@hidden>
  • Prev by Date: Re: Custom control
  • Next by Date: Re: Why does the memory increase?
  • Previous by thread: Re: Custom control
  • Next by thread: RE: When do documents position windows?
  • Index(es):
    • Date
    • Thread