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