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