home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12970 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.4 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!torn!utzoo!censor!comspec!nsq!entity
  2. From: entity@nsq.uucp (cybernetworx)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Locking Window Input -- How?
  5. Message-ID: <318@nsq.uucp>
  6. Date: 1 Sep 92 14:47:47 GMT
  7. References: <302@nsq.uucp> <sysop.0csc@alphanet.alphanet.ch>
  8. Organization: NSQ
  9. Lines: 19
  10.  
  11. In article <sysop.0csc@alphanet.alphanet.ch>, sysop@alphanet.alphanet.ch (Marc SCHAEFER) writes:
  12. > In article <302@nsq.uucp> entity@nsq.uucp (cybernetworx) writes:
  13. > >Ok, I need to know how to do the following as I don't think it's supported by
  14. > >the operating system:
  15. > Yes it is. Close the other windows.
  16.  
  17. Gee, thanks. You're so witty.  If you didn't mean it as a joke, then the point
  18. is that I need to keep all the other windows active.  In any case, I've gotten
  19. various replies to this, and I think I've got one that might actually do
  20. exactly what I need.  The basic idea is you take your current screen and save
  21. all the IDCMP flags for all windows on that screen.  Then you nullify their
  22. IDCMP flags for the duration that my window is open and restore them when I
  23. close my window.  Of course I'll patch CloseWindow and CloseScreen to make
  24. sure that nothing hokey happens by putting in my own additional checks.
  25.  
  26. The idea of having your window send an INACTIVEWINDOW and calling
  27. ActiveWindow() at this signal will probably not work well because it's slow.
  28.  
  29.