home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11697 < prev    next >
Encoding:
Text File  |  1992-07-27  |  2.0 KB  |  45 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!haven.umd.edu!wam.umd.edu!stark
  3. From: stark@wam.umd.edu (Mike Stark)
  4. Subject: ASL and GadTools libraries.
  5. Message-ID: <1992Jul27.191144.25772@wam.umd.edu>
  6. Summary: My explorations with GadTools and ASL
  7. Sender: usenet@wam.umd.edu (USENET News system)
  8. Nntp-Posting-Host: rac2.wam.umd.edu
  9. Organization: University of Maryland, College Park
  10. Date: Mon, 27 Jul 1992 19:11:44 GMT
  11. Lines: 32
  12.  
  13. I posted a question a while back about using ASL.  Here is a summary of a few
  14. of the things that I found out.  Not all of them are related to ASL.
  15.  
  16. When using the hook function to get messages from a shared IDCMP while an ASL
  17. requester is displayed, it works to return a NULL pointer instead of the 
  18. pointer to the message ASL passed you. (The reason you would want to do this
  19. is if you want to close the window with which the message is associated while
  20. the ASL requester is displayed.)  The reason it is OK is that ASL calls 
  21. GT_ReplyIMsg which doesn't mind being passed a NULL pointer.  The autdocs 
  22. take a strong stance against doing this but it works.  I wish the autodocs
  23. said this was OK because I really want to let the user of my program close 
  24. windows while the ASL requester is active.  (I have a problem with MFR which
  25. may be caused by it's not using GT_ReplyIMsg.)
  26.  
  27. GetMsg/GT_FilterIMsg/GT_PostFilterIMsg/ReplyMsg does not operate the same
  28. as GT_GetIMsg/GT_ReplyIMsg.  In particular, if you are using the GT_Filter
  29. routines, you start losing IDCMP_MOUSEMOVE events when you are using the
  30. slider gadgets from GadTools.  I imagine that GadTools turns them off so as
  31. not to get too far behind and GT_PostFilterIMsg doesn't turn them back on
  32. again while GT_ReplyIMsg does. Go figure.
  33.  
  34. Just a few things I thought you all should know.  If anyonse has a way that 
  35. I could close windows while the file requester is open and still let ASL 
  36. (Or MFR) reply to the IntuiMessage, I would like to hear it
  37.  
  38.  
  39.  
  40. -- 
  41. ---Mike Stark                         | stark@umdhep.umd.edu
  42.    Physics Department
  43.    University of Maryland
  44.    College Park, MD  20742
  45.