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