home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / System / list&dialog.c ƒ / list-in-dialog..doc next >
Encoding:
Text File  |  1990-07-12  |  1.1 KB  |  27 lines  |  [TEXT/EDIT]

  1. cat list-in-dialog.hqx
  2. Date:  Sat, 19 May 90 21:14 MDT
  3. From: Bernie <BSWieser%UNCAMULT.BITNET@forsythe.stanford.edu>
  4. Subject:  list&dialog.hqx
  5.  
  6. Greetings Maclites, I seemed to have answered my own question.  Though some of
  7. you may already know this, I will explain for others who do not.  When using
  8. the list manager routines, scroll bars, and modal dialogs the scroll bar is
  9. defined outside the user item rect you define for the list in the dialog
  10. template.  So, when passing events to LClick, you should check to see what
  11. controls have been used.  The following code in LSC:
  12.           o processes a text list in a modal dialog
  13.           o handles the vertical scroll bar with the list
  14.           o uses cursor keys when list handling
  15.           o maintains buttons depending on whether a list cell(s) is selected
  16.                     or not
  17. My new question is, why doesn't the list manager provide cursor key handling
  18. (or does it, and I just don't know about it)?
  19.  
  20. Bernie Wieser (BSWieser@UNCAMULT.BITNET)
  21. Studentus Maximus, Praefectus Vigilis
  22. Dept. of Psychology, the University of Calgary
  23. Calgary, Alberta, Canada
  24.  
  25. ------------------
  26.  
  27.