Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site Shasta.ARPA
Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!nsc!pyramid!decwrl!Glacier!Shasta!gus
From: gus@Shasta.ARPA
Newsgroups: net.sources.mac
Subject: Re: SegWatcher.doc -- DA which tracks CODE segments
Message-ID: <513@Shasta.ARPA>
Date: Fri, 27-Sep-85 14:45:23 EDT
Article-I.D.: Shasta.513
Posted: Fri Sep 27 14:45:23 1985
Date-Received: Wed, 2-Oct-85 06:36:45 EDT
References: <1928@reed.UUCP>
Organization: Stanford University
Lines: 20

>       
> Some Applications (notably, Rascal!), will close desk accessories before 
> beginning some operations.  Selecting items from the standard Edit menu 
> while SegWatcher is the front window will cause SegWatcher to hide itself 
> for a few seconds (the window's WindowKind field is changed to a positive 
> number, and the window is hidden), thus tricking the application into 
> thinking there are no D/A windows open :
>       
>         Cut:  Hide for 2 seconds;
>         Copy: Hide for 4 seconds;
>         Paste: Hide for 6 seconds;
>         Clear: Hide for 8 seconds;
>         

CAVEAT: This is not a good idea. Most applications assume that windows with
positive windowkinds belong to them. This 'trick' done by SegWatcher might
cause applications to fail when they see a windowkind which they don't know
how to handle. Why should RASCAL close all DA's? This seems to be the real
problem.
						Gus Fernandez