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

  1. Path: sparky!uunet!cbmvax!cbmehq!cbmfra!forgeas
  2. From: forgeas@swinjm.UUCP (Jean-Michel Forgeas)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Locking Window Input -- How?
  5. Message-ID: <-1rCr*1X1@swinjm.UUCP>
  6. Date: 3 Sep 92 10:57:03 GMT
  7. References: <302@nsq.uucp> <sysop.0csc@alphanet.alphanet.ch> <318@nsq.uucp>
  8. Reply-To: cbmvax!cbmehq!cbmfra!swinjm!forgeas (Jean-Michel Forgeas)
  9. Organization: The Software Winery
  10. Lines: 26
  11. X-Newsreader: Arn V1.00 alpha rel2
  12.  
  13. In article <318@nsq.uucp>, cybernetworx writes:
  14.  
  15. > exactly what I need.  The basic idea is you take your current screen and save
  16. > all the IDCMP flags for all windows on that screen.  Then you nullify their
  17. > IDCMP flags for the duration that my window is open and restore them when I
  18. > close my window.
  19.  
  20. But the gadgets will be be still enable.
  21. Instead why don't you RemoveGList or Disable only the gadgets which should
  22. not respond to the user?
  23. Let the Close gadget of the first window enabled and wait for him too.
  24.  
  25. > Of course I'll patch CloseWindow and CloseScreen to make
  26. > sure that nothing hokey happens by putting in my own additional checks.
  27.  
  28. Of course...
  29. NOOOO!!!!
  30. What are you doing! Imagine that all programs opening an other window
  31. are patching CloseWindow and CloseScreen??????
  32. The Amiga would not be a system anymore, it would be a big PATCH!!!
  33.  
  34. I refuse to have such a program on my Amiga in the future.
  35. --
  36. Jean-Michel Forgeas         uunet!cbmvax!cbmehq!cbmfra!swinjm!forgeas
  37. 4 rue du General Leclerc                       __
  38. 95210 Saint Gratien, France                    \/
  39.