home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!nuntius
- From: ckloeden@f.itd.adelaide.edu.au (Craig Kloeden)
- Newsgroups: comp.sys.mac.programmer
- Subject: Remembering Window Positions
- Message-ID: <7961@sirius.ucs.adelaide.edu.au>
- Date: 28 Jul 92 05:11:34 GMT
- Sender: news@ucs.adelaide.edu.au
- Organization: University of Adelaide
- Lines: 23
- Nntp-Posting-Host: mac146.mednorth.adelaide.edu.au
- X-UserAgent: Nuntius v1.1
-
- I have a small DA like application program (a calculator) that I want
- to remember its last position on the screen as well as its contents.
-
- What is the accepted way of storing the window position?
-
- In the window resource itself?
- In another storage resource?
- In the files data fork?
- In a preference file? (hardly seems worth this)
-
- Also, what is the test for being "on-screen" if its position is set
- on a large monitor and it re-appears on a smaller one. ie how much of
- it has to be on screen not to cause a repositioning.
-
- Thanks in Advance,
-
- Craig
-
- ---
- Craig Kloeden E-Mail: ckloeden@f.itd.adelaide.edu.au
- Road Accident Research Unit Phone : +61 8 228 5885
- The University of Adelaide Fax : +61 8 232 4995
- Australia Disclaimer: Not this little black duck!
-