sam@neoucom.UUCP (Scott A. Mason) (09/15/89)
Ok, This is my third plea for help with the List Manager. Has anyone out ther used this before?? If so, please enlighten me in its workings. I would like to implement a text-only list with scroll bars, selection of items, but have not had any luck on my own. Thanks for your help. -- -------------------------------------------------------------------------------- "If it ain't broke, don't fix it," and certainly don't blame me. UUCP: {pitt,scooter,hal,cwjcc,aablue}!neoucom!sam INTERNET: sam@neoucom.UUCP Scott A. Mason, Coordinator of Systems Operations, NEOUCOM
pem@cadnetix.COM (Paul Meyer) (09/19/89)
In article <1720@neoucom.UUCP> sam@neoucom.UUCP (Scott A. Mason) writes: >Ok, This is my third plea for help with the List Manager. >Has anyone out ther used this before?? If so, please enlighten me >in its workings. > >I would like to implement a text-only list with scroll bars, selection of >items, but have not had any luck on my own. I think nobody's answering because nobody can figure out what your problems are. Of all the Toolbox managers and packages, the List Manager is pretty much the easiest. I presume you've read the entire chapter in IM4 a couple of times, and have some specific questions? Since I don't normally bring my Mac stuff to work, I can't just type in a sample chunk of code by reading the book, but it really was that easy for me! Could you post some specific questions? Paul Meyer pem@cadnetix.COM Daisy/Cadnetix Inc. (DAZIX) {uunet,boulder}!cadnetix!pem 5775 Flatirons Pkwy. GEnie P.MEYER Boulder, CO 80301 (303)444-8075x277
Andrew.Johnston@f31.n343.z1.FIDONET.ORG (Andrew Johnston) (09/25/89)
I recently dug into the list manager routines for the first time as well. It isn't too difficult, but there is just a little of reading between the lines in IM. I suggest getting a copy a recent issue (I can't remember which one - within the last 6 months) of Byte Magazine. There is an article in one of the issues that holds your hand through a simple list manager application and helps you understand what comes before and with what. Once you get over the first hurdle the rest is fairly obvious. Andrew Johnston -- Andrew Johnston via cmhGate - Net 226 fido<=>uucp gateway Col, OH UUCP: ...!osu-cis!n8emr!cmhgate!343!31!Andrew.Johnston INET: Andrew.Johnston@f31.n343.z1.FIDONET.ORG
rick@gibbs.uchicago.edu (Rick Ernst) (06/07/90)
I'd like to do something fairly simple with the List Manager, put so far have had little or no success. All I want to do is to present a scrollable list of text choices, as in the Standard File Packages, put I can't find in Inside Mac IV how exactly to tell the List Manager what to print and how to display it. I would greatly appreciate any sample source code people have had success with. Please respond by e-mail if possible. Thanks. ------------------------------------------------------------ Rick Ernst Department of Physics rick@control.uchicago.edu The University of Chicago
Eliot.Henry@samba.acs.unc.edu (BBS Account) (08/18/90)
I'm trying to use the list manager to display a list I've created. I can get the window to come up and can even get the scroll bars to appear but nothing I add to it shows up. When I call lnew i set draw to true. What could i be missing I do addcol and addrow then a addtorow. I give addtorow a pointer (@teststring) Help!
Eliot.Henry@samba.acs.unc.edu (BBS Account) (08/20/90)
Help! I am trying to get the list manager to put a list up for me! I think I need to create an event loop? But even before I get to that problem (really quite simple) I need to know how to get the items to show up in the list. I have the box of the list window and the scroll bars working (ie showing up) fine. I adcol and addrow then addtocell and give a pointer to a string. Then I even drawcell. Nothing is displayed. What am i missing. It must be something simple! Thanks!
Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) (12/16/90)
summer@atreides.trl.oz.au Mark Summerfield writes in a message ... > What I want to know is: is there a standard way of easily implementing > one of these things, or do you have to do everything yourself > (run the control, scroll the list, check which item gets selected > etc etc)? The standard file package does this for you for file > selection. Is there something similar for AppleTalk, or for general > lists of items? The List Manager Chapter in IM IV has what you need. -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!56.12!Chris.Gehlker Internet: Chris.Gehlker@p12.f56.n114.z1.fidonet.org
CAH0@bunny.gte.com (Chuck Hoffman) (05/24/91)
The following code produces nothing in my window. Using THINK C 4.0, System 6.0.7. The "cellSize" item in the ListRec seems to be blown. Can anyone help? Rect rView = {20,20, 145,110}; Rect dataBounds = {0,0, 2,12}; Point cSize = {40,40}; int myRow; char testStuff[] = "\pHow about this?"; Point testCell = {0, 0}; ListHandle theList; . . SelectWindow (myWindTab[helpWindSub].myWindPtr); . . SetPort (&myWindTab[myWindSub].myWindRec.port); TextFont(geneva); TextSize(10); theList = LNew(&rView, &dataBounds, &cSize, NIL, myWindTab[myWindSub].myWindPtr, TRUE, FALSE, FALSE, FALSE); LSetCell (&testStuff[1], (int) testStuff[0], &testCell, theList); LDraw (&testCell, theList); InvalRect (&myWindTab[myWindSub].myWindRec.port.portRect); . . (later LUpdate in response to Update Event in main event loop) Chuck Hoffman, GTE Laboratories, Inc. | I'm not sure why we're here, cah0@bunny.gte.com | but I am sure that while we're Telephone (U.S.A.) 617-466-2131 | here, we're supposed to help GTE VoiceNet: 679-2131 | each other. GTE Telemail: C.HOFFMAN |
glenn@gla-aux.uucp (Glenn Austin) (05/29/91)
In article <11198@bunny.GTE.COM>, CAH0@bunny.gte.com (Chuck Hoffman) writes: > Point testCell = {0, 0}; Set testCell to 1,1. I keep forgetting too, but the best way to remember whether it's 1-based or 0-based is: What's returned from AddRow (AddCol) is a 1-based number. =============================================================================== | Glenn L. Austin | "Turn too soon, run out of room. | | Macintosh Wizard and | Turn too late, much better fate." | | Auto Racing Driver | -- Jim Russell Racing School Instructors | |-----------------------------------------------------------------------------| | Don't take me too seriously -- I never do! :-) | |-----------------------------------------------------------------------------| | Usenet: glenn@gla-aux.uucp or glenn%gla-aux.uucp@skinner.cs.uoregon.edu | ===============================================================================