home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / system / 10213 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  983 b 

  1. Path: sparky!uunet!usc!sdd.hp.com!mips!mips!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!sousa.ltn.dec.com!mcntsh.enet.dec.com!long
  2. From: long@mcntsh.enet.dec.com (Rich Long)
  3. Newsgroups: comp.sys.mac.system
  4. Subject: Pointer-driven focus?
  5. Message-ID: <1357@sousa.ltn.dec.com>
  6. Date: 21 Jul 92 19:51:27 GMT
  7. Sender: newsa@sousa.ltn.dec.com
  8. Organization: Digital Equipment Corporation
  9. Lines: 19
  10.  
  11. This is probably a long shot, but is there an INIT that would bring
  12.  pointer-driven focus to the Mac? It's OK if it only works in the current
  13.  appl., but it would be neat if it worked for all windows.
  14.  
  15.  What I'm thinking of is perhaps:
  16.  
  17.  if (! modal dialog up)
  18.      {
  19.      if ((pointer in window) && (window is not Front-Window))
  20.          {
  21.          if (window does not belong to the current appl)
  22.              switch-to-owner-appl;
  23.          bring-window-to-front;
  24.          }
  25.      }
  26.  
  27. Richard C. Long            long@mcntsh.enet.dec.com
  28.               -or-    ...!decwrl!mcntsh.enet.dec.com!long           
  29.               -or-    long%mcntsh.dec@decwrl.enet.dec.com
  30.