home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / programm / 7713 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.3 KB  |  37 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!psinntp!hd0258!gvh
  3. From: gvh@metrosoft.com (Gordon Van Huizen)
  4. Subject: Re: How do I really flush a window?
  5. Message-ID: <1992Dec12.184239.6976@metrosoft.com>
  6. Sender: gvh@metrosoft.com
  7. Reply-To: gvh@metrosoft.com (Gordon Van Huizen)
  8. Organization: Metrosoft
  9. References: <Bz2BwJ.6sz.2@cs.cmu.edu>
  10. Date: Sat, 12 Dec 1992 18:42:39 GMT
  11. Lines: 24
  12.  
  13. In article <Bz2BwJ.6sz.2@cs.cmu.edu> rwb@alexander.VI.RI.CMU.EDU  
  14. (Robert Berger) writes:
  15. > I have a method that changes a view. I need the changes to be
  16. > visible immediately, and not wait until my method returns.
  17. > How do I flush the new data to the display? I've tried various
  18. > combinations of flushWindow, buffering/non-retained, etc. With every
  19. > technique I tried, the new data does not become visible until my
  20. > method exits.
  21. > How do I make the changes visible immediately?
  22.  
  23. You need to use NXPing() to cause the running app to pause
  24. and wait for the Window Server to execute all PostScript
  25. sent to it. I have found that this is required in more cases
  26. than those eluded to by the NeXT docs. 
  27.   
  28. Gordon
  29. -- 
  30. ----------------------------------------------------------------
  31. Gordon Van Huizen           vox: 619.488.9411  fax: 619.488.3045
  32. Metrosoft                   gvh@metrosoft.com [NeXTmail welcome]
  33. ----------------------------------------------------------------
  34.