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

  1. Path: sparky!uunet!cbmvax!peter
  2. From: peter@cbmvax.commodore.com (Peter Cherna)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Locking Window Input -- How?
  5. Message-ID: <34822@cbmvax.commodore.com>
  6. Date: 2 Sep 92 13:36:50 GMT
  7. References: <302@nsq.uucp> <sysop.0csc@alphanet.alphanet.ch> <318@nsq.uucp>
  8. Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
  9. Organization: Commodore-Amiga, Inc.  West Chester, PA.
  10. Lines: 25
  11.  
  12. In article <318@nsq.uucp> entity@nsq.uucp (cybernetworx) writes:
  13. >Gee, thanks. You're so witty.  If you didn't mean it as a joke, then the point
  14. >is that I need to keep all the other windows active.  In any case, I've gotten
  15. >various replies to this, and I think I've got one that might actually do
  16. >exactly what I need.  The basic idea is you take your current screen and save
  17. >all the IDCMP flags for all windows on that screen.  Then you nullify their
  18. >IDCMP flags for the duration that my window is open and restore them when I
  19. >close my window.  Of course I'll patch CloseWindow and CloseScreen to make
  20. >sure that nothing hokey happens by putting in my own additional checks.
  21.  
  22. What you are doing is likely bad user-interface design, and certainly
  23. bad software design.  You could create all kinds of potential problems
  24. by poking IDCMP flags, and it wouldn't even stop those windows from
  25. being activated.
  26.  
  27. If you care to elaborate on the effect you wish to achieve, someone might
  28. help you with a system-friendly and user-friendly approach.
  29.  
  30.      Peter
  31. --
  32. Peter Cherna, User Interface Development Group, Commodore-Amiga, Inc.
  33. {uunet|rutgers}!cbmvax!peter    peter@cbmvax.commodore.com
  34. My opinions do not necessarily represent the opinions of my employer.
  35. "I believe it's bad luck to be superstitious."
  36.  
  37.