home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!rutgers!cbmvax!bj
- From: bj@cbmvax.commodore.com (Brian Jackson - Amiga Networking)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ASL and GadTools libraries.
- Message-ID: <33735@cbmvax.commodore.com>
- Date: 28 Jul 92 17:30:25 GMT
- References: <1992Jul27.191144.25772@wam.umd.edu>
- Reply-To: bj@cbmvax.commodore.com (Brian Jackson - Amiga Networking)
- Organization: Commodore, West Chester, PA
- Lines: 42
-
- In article <1992Jul27.191144.25772@wam.umd.edu> stark@wam.umd.edu (Mike Stark) writes:
- >I posted a question a while back about using ASL. Here is a summary of a few
- >of the things that I found out. Not all of them are related to ASL.
- >
- >When using the hook function to get messages from a shared IDCMP while an ASL
- >requester is displayed, it works to return a NULL pointer instead of the
- >pointer to the message ASL passed you. (The reason you would want to do this
- >is if you want to close the window with which the message is associated while
- >the ASL requester is displayed.) The reason it is OK is that ASL calls
- >GT_ReplyIMsg which doesn't mind being passed a NULL pointer. The autdocs
- ^^^^^^^^^^^
- >take a strong stance against doing this but it works. I wish the autodocs
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Why do you think they take such a strong stance? Sheesh.
-
- >said this was OK because I really want to let the user of my program close
- >windows while the ASL requester is active. (I have a problem with MFR which
- >may be caused by it's not using GT_ReplyIMsg.)
-
- Wishing does not make it so. Here's a quote that should be a primary
- thought as you program the Amiga :
-
- "Please disconnect in your mind the concepts 'seems to work just fine'
- and 'Is allowed'" - Peter Cherna |
-
- >GetMsg/GT_FilterIMsg/GT_PostFilterIMsg/ReplyMsg does not operate the same
- >as GT_GetIMsg/GT_ReplyIMsg. In particular, if you are using the GT_Filter
- >routines, you start losing IDCMP_MOUSEMOVE events when you are using the
- >slider gadgets from GadTools. I imagine that GadTools turns them off so as
- >not to get too far behind and GT_PostFilterIMsg doesn't turn them back on
- >again while GT_ReplyIMsg does. Go figure.
-
- Yes, go figure (again)
-
- >Just a few things I thought you all should know. If anyonse has a way that
- >I could close windows while the file requester is open and still let ASL
- >(Or MFR) reply to the IntuiMessage, I would like to hear it
- >
- >---Mike Stark | stark@umdhep.umd.edu
- > Physics Department
- > University of Maryland
- > College Park, MD 20742
-