home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 16271 < prev    next >
Encoding:
Internet Message Format  |  1992-11-24  |  3.2 KB

  1. Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!news.qut.edu.au!qut.edu.au!barham
  2. From: barham@qut.edu.au
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Info regarding requesters and such
  5. Message-ID: <1992Nov24.112651.59223@qut.edu.au>
  6. Date: 24 Nov 92 11:26:51 EST
  7. Organization: Queensland University of Technology
  8. Lines: 60
  9.  
  10. Todd_Lewis@unc.edu (Todd M. Lewis) writes:
  11. > In article <1992Nov23.103201.59188@qut.edu.au> barham@qut.edu.au writes:
  12. > >Hello gurus,
  13. > >
  14. > >I have a question regarding Requesters, GadTools gadgets, ReqTools etc.
  15. > >
  16. > >[...]Now, while these "requester"[windows] are up, I want to block
  17. > >all user input into the main window, and put up a wait pointer when the
  18. > >main window is active.
  19. > >Any ideas?  Am I overlooking something entirely obvious?
  20. >
  21. > Just change the blocked window's pointer to some busy sign (like the watch
  22. > on the Mac or the calender on Windows :-) and put a 1x1-pixel requester
  23. > in the corner of the window.  Change your IDCMP flags so messages don't
  24. > pile up, and there you are.  Not entirely obvious, but simple enough.
  25. > You could get fancy and make your "requester" window active whenever
  26. > your blocked window gets activated, but I don't think it's a good idea.
  27. > Let the user activate whatever he chooses, I say.
  28.  
  29. Last night I was rereading the "Requesters and Alerts" section of the
  30. RKM Libraries Manual, and guess what - this is exactly what this
  31. recommends.  Though they recommend you create a requester with
  32. custom imagery of zero size and with no custom imagery (as opposed
  33. to a 1x1 requester).  I haven't tried it yet.  Tell me though,
  34. intuitionrequesters would block the window completely, wouldn't they -
  35. so not even GadTools gadgets do anything?  The reason I ask this was
  36. because I was using a program that lets you choose between an ASL
  37. file requester or the ReqTools file requester.  When I used the ASL
  38. file requester, the GadTools gadgets in the window it was called from
  39. still worked (ie cycle gadgets cycled, Mx gadgets Mx'd etc), where as
  40. when I used the ReqTools requester, input was totally blocked.  Now,
  41. I know (I assume) that the ASL requesters are really windows (not
  42. requesters) because they use GadTools gadgets (I would guess) and are
  43. resizeable etc.  But surely the wonderful programmers who created
  44. them would use the technique described  above to block window input
  45. (seeing as it is the technique suggested in the manual)?????
  46.  
  47. > >| t.barham@qut.edu.au (Tim Barham) - "Dances with Mice"              |
  48. > Have a nice dance.
  49.  
  50. I always do %^)
  51.  
  52. > --
  53. >      Todd M. Lewis / Todd_Lewis@unc.edu / utoddl@guitar.oit.unc.edu
  54. >  Another Month Ends / All Targets Met / All Systems Working / All Customers
  55. > Satisfied / All Staff Eager and Enthusiastic / All Pigs Fed and Ready to Fly
  56.  
  57. Sounds like my work.
  58.  
  59. Tim.
  60.  
  61. -- 
  62.  
  63. ----------------------------------------------------------------------
  64. | t.barham@qut.edu.au (Tim Barham) - "Dances with Mice"              |
  65. | Applications Programmer for the Computer Based Education Section,  |
  66. | Queensland University of Technology, Brisbane, Qld, Australia      |
  67. ----------------------------------------------------------------------
  68. | "You're so open-minded that your brain leaked out..."              |
  69. ----------------------------------------------------------------------
  70.