Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!intercon!news From: amanda@mermaid.intercon.com (Amanda Walker) Newsgroups: comp.sys.mac.programmer Subject: Re: How's the screen cleaned after _SysError? Message-ID: <1990Feb27.003952.4966@intercon.com> Date: 27 Feb 90 00:39:52 GMT References: <34252@news.Think.COM> Sender: @intercon.com Reply-To: amanda@mermaid.intercon.com (Amanda Walker) Organization: InterCon Systems Corporation, Sterling, VA Lines: 17 In article <34252@news.Think.COM>, ephraim@Think.COM (Ephraim Vishniac) writes: > Right now, I'm waiting for the > next call to _GetOSEvent and using _PaintBehind to get the alert rect > redrawn. This works, but it's not as smooth as whatever the disk-swap code > does. If you know how big your alert is going to be, you could reserve a bitmap/pixmap and just save the stuff behind the alert before you put it up, and restore it on your way out... I believe there was once some code floating around sumex that did this, called "quickalert" or some such. -- Amanda Walker InterCon Systems Corporation "Many of the truths we cling to depend greatly upon our own point of view." --Obi-Wan Kenobi in "Return of the Jedi"