home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / apple2 / 26651 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  900 b 

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!sdd.hp.com!network.ucsd.edu!ucsbcsl!mcl!uerics
  2. From: uerics@mcl.ucsb.edu (Eric D. Shepherd)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: How do I get the current location of a window?
  5. Keywords: window position
  6. Message-ID: <uerics.726613291@mcl>
  7. Date: 9 Jan 93 21:01:31 GMT
  8. References: <uerics.726388359@mcl> <1993Jan8.030931.28422@sbcs.sunysb.edu>
  9. Sender: root@ucsbcsl.ucsb.edu
  10. Lines: 12
  11.  
  12. Re: getting location of a window
  13.  
  14. I found another way to do it: read the values of h1 and v1 from the
  15. window's GrafPort's boundsRect and take the negative of those values.
  16.  
  17. - Eric S.
  18.  
  19. --
  20. Eric D. Shepherd                   | Apple II Alliance Charter Member
  21. InterNet: uerics@mcl.mcl.ucsb.edu  |           ACM Member
  22. FidoNet:  1:206/2713 Eric Shepherd | Programming Law #1: "When in
  23. AOL:      Sheppy                   | doubt, rewrite from scratch."
  24.