home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13039 < prev    next >
Encoding:
Text File  |  1992-07-26  |  921 b   |  30 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!sun-barr!ames!data.nas.nasa.gov!taligent!keith@taligent.com
  3. From: keith@taligent.com (Keith Rollin)
  4. Subject: Re: Storing Windows
  5. Message-ID: <Bs0nqK.892@taligent.com>
  6. Sender: usenet@taligent.com (More Bytes Than You Can Read)
  7. Organization: Taligent
  8. References: <1992Jul26.172146.21715@usenet.ins.cwru.edu>
  9. Date: Sun, 26 Jul 1992 21:59:08 GMT
  10. Lines: 18
  11.  
  12. In article <1992Jul26.172146.21715@usenet.ins.cwru.edu>, Jerome Chan
  13. <yjc@po.cwru.edu> writes:
  14. >  Is there a way to store windows efficiently? If we use
  15. >   GetNewWindows(RESOURCE,NULL,WINDOW_LOCATION) ;
  16. > the window would be stored as non-relocateable. Is there anyway we can
  17. > use handles to store the window data?
  18.  
  19. No. WindowRecords contain an embedded GrafPort. According to Technote #155,
  20. GrafPorts should not be allocated in relocatable buffers.
  21.  
  22. --
  23. Keith Rollin
  24. Phantom Programmer
  25. Taligent, Inc.
  26.  
  27.