home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!haven.umd.edu!wam.umd.edu!stark
- From: stark@wam.umd.edu (Mike Stark)
- Subject: ASL and GadTools libraries.
- Message-ID: <1992Jul27.191144.25772@wam.umd.edu>
- Summary: My explorations with GadTools and ASL
- Sender: usenet@wam.umd.edu (USENET News system)
- Nntp-Posting-Host: rac2.wam.umd.edu
- Organization: University of Maryland, College Park
- Date: Mon, 27 Jul 1992 19:11:44 GMT
- Lines: 32
-
- 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
- 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.)
-
- 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.
-
- 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
-