Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: knudsen@ihlpl.att.com (Knudsen) Newsgroups: comp.sys.sun Subject: Re: Need help with Sunview programming (Notifier doesn't) Keywords: Windows Message-ID: <9346@ihlpl.ATT.COM> Date: 9 Mar 89 03:01:59 GMT References: <961@ubu.warwick.UUCP> <1257@actnyc.UUCP> Sender: usenet@rice.edu Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 12 Approved: Sun-Spots@rice.edu Original-Date: 1 Mar 89 17:21:10 GMT X-Sun-Spots-Digest: Volume 7, Issue 189, message 2 of 17 I used another solution to the problem of halting a lengthy plot process. By fooling with event masks and other things (excuse the foggy details, this was a few weeks ago), I was able to steer the signal from the L1 key ("stop" key in the Keyboard Accelarators table) to a routine that sets a global variable that the plodding plotting routine checks inside its loop. Works very well, tho not as user-friendly and self-documenting as a panel button labeled STOP. So the first thing my plot routine does is a pw_text(pw, "Hit L1 to Halt Plot."). Mike Knudsen Bell Labs(AT&T) att!ihlpl!knudsen "Anyone can build a conservative design, given liberal resources." -- MJK