home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13080 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.2 KB

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