home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18669 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.7 KB  |  41 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!wupost!darwin.sura.net!jvnc.net!primerd.prime.com!usenet
  3. From: Jim Cook <J.Cook@ENS.Prime.COM>
  4. Subject: Invalidating the Entire Screen?
  5. Message-ID: <1992Nov19.220447.11714@primerd.prime.com>
  6. Sender: usenet@primerd.prime.com (Usenet)
  7. Reply-To: <J.Cook@ENS.Prime.COM>
  8. Organization: Prime Computer, Inc.
  9. Date: Thu, 19 Nov 1992 22:04:47 GMT
  10. Lines: 29
  11.  
  12. Seem like an easy enough, innocent question:
  13.  
  14. I have a RasterOps 24STV Frame Grabber which both acts as a frame grabber and
  15. a video board for my Apple 13" monitor.  When I grab a frame, it scribbles over
  16. the entire screen because it uses the refresh memory for the screen as the
  17. buffer to grab the picture into.  Fair enough - a quick, cheap solution.
  18.  
  19. Alright, how do I invalidate the entire screen so it all gets redrawn?
  20. Obviously, I can invalidate my own window, but what about the windows belonging
  21. to other active applications or the desktop background or the menu bar?
  22.  
  23. Is there an easy one call should do it all?  
  24.  
  25. Attempting to post an invalidate to my window large enough to cover the entire
  26. desktop/screen doesn't cut it - it only gets my window (the invalidate is
  27. obviously clipped to my window).
  28.  
  29. I could open a window as large as the screen and immediately close it, but 
  30. that's kind of a hack and I don't know that it will take care of the menu bar.
  31.  
  32. There is the possibility of walking the list of open windows (assuming I can
  33. get to it in a documented manner), but I don't know the structure and that
  34. doesn't seem to cover the desktop background.
  35.  
  36. I've tried posting an invalidate to the window manager port, but that just
  37. caused a crash.
  38.  
  39. What's a poor image processing student to do?
  40.  
  41.