home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18391 < prev    next >
Encoding:
Text File  |  1992-11-14  |  1.5 KB  |  36 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!emory!wupost!darwin.sura.net!news.udel.edu!chopin.udel.edu!kurisuto
  3. From: kurisuto@chopin.udel.edu (Sean J. Crist)
  4. Subject: Icon LDEF wanted- icons and the list manager
  5. Message-ID: <BxoGq4.2A8@news.udel.edu>
  6. Sender: usenet@news.udel.edu
  7. Nntp-Posting-Host: chopin.udel.edu
  8. Organization: University of Delaware
  9. References: <1992Nov12.230541.20079@wam.umd.edu> <iscjcw-131192150814@ajax.ucop.edu>
  10. Date: Fri, 13 Nov 1992 23:18:03 GMT
  11. Lines: 23
  12.  
  13. I am trying to write a dialog using the list manager which displays all of
  14. the icons in a file and allows the user to select one (a la HyperCard).  I
  15. have two questions about this.
  16.  
  17. 1.  Does anybody have some handy code for an icon LDEF which they could
  18. give me?  If not, do you know where I could get such code?  A long time
  19. ago, I recall hearing that something like this was available somewhere,
  20. either in a book or from an ftp site.  I only know Pascal, and I don't
  21. have a C compiler, so C code won't help me any.  (I know I could write the
  22. LDEF myself, but LDEFs are impossibly hard to debug, and it would save me
  23. much time if I could track down a ready-made one.)
  24.  
  25. 2.  Assuming I have a suitable LDEF, what do you think is the most
  26. straightforward way to find out the resource number of the selected icon?
  27. One way would be to include both the icon itself and the resource number
  28. in the cell data, and write the LDEF to be smart enough to draw only the
  29. icon.  Does anyone have any suggestion here?
  30.  
  31. Thank you very much.
  32.  
  33. --Kurisuto
  34.  
  35.  
  36.