From: stack,stack@eng.utah.edu
To: Stefan Müller
Receive-Date: Montag, 18-Nov-96  09:14:29
Creation-Date: Sonntag, 17-Nov-96  23:40:00
Message-ID: 199611172240.PAA19918@cadesm49.eng.utah.edu
Date: 17.11.1996 23:40
References: 63482sm@mk2.maus.sauerland.de
Subject: Re: Listview Class and other BOOPSIs.
Attributes: MAUS_STAT "Nicht_gelesen: 18.11.1996 05:28"
UserFlags: WriteAccess ReadAccess ViewAccess
GlobalFlags: Exported

Received: by mk2.maus.sauerland.de with bsmtp (FOM Revision 0.70.2.8.00c/MK2)
        id <2833y94h@mk2.maus.sauerland.de>; 18 Nov 96 05:25:29 +0100
Received: from cs.utah.edu by babylon.sauerland.de with smtp
        (Smail3.1.29.1 #5) id m0vPFtC-003LHTC; Sun, 17 Nov 96 23:40 MET
Received: from cadesm0.eng.utah.edu by cs.utah.edu (8.6.12/utah-2.21-cs)
        id PAA13582; Sun, 17 Nov 1996 15:40:19 -0700
Received: from cadesm49.eng.utah.edu by cadesm0.eng.utah.edu (8.6.12/utah-2.15sun-leaf)
        id PAA06821; Sun, 17 Nov 1996 15:40:17 -0700
Received: by cadesm49.eng.utah.edu (8.6.12/utah-2.15sun-leaf)
        id PAA19918; Sun, 17 Nov 1996 15:40:19 -0700

> 
> Hallo Tim;
> zu Deiner Mail <199611152352.QAA14932@cadesm49.eng.utah.edu>:

> OK, I will get that. I downloaded the old(?) version last saturday
> from your website...
>

Make sure you download straight from the dir and not the .lha archive
since the archive still holds the older versions.  You should just e able
to go through Classes/ dir and grab them from there.

 > Played with some classes, crashed some :-)
> 

Sorry, it might be that sushi isn't running since there are a lot of
kprintf still in the code.


> (It would be nice to a seperate lha-archives for each Class,
> is this possible? Would reduce traffic :-) )
>

Will do...
 
> Hmm, and now I am fiddling with the IDCMP_UPDATE notify method. I
> have a standard IDCMP-Loop.
>

I've put a new file in the Classes/itemlist/ dir that is called demo.c.
It should help you with the loop.
 
> On IDCMP_UPDATE:
> I get the pointer to the taglist as it is standard with IDCMP_UPDATE.
> 
> Now I just want to figure out (with the taglist)
> 
> a) - is this really Listview Gadget No. x? (I have several others)

A GA_ID tag is sent with all BOOPSI gadget msgs.  So you just need to
check for that.

> b) - then get the selected entry (no problem - GetAttr works fine.)

If you use IDCMP_GADGETUP then the imsg->Code will have the number of the
currently selected item.  If you want the struct Item * then you need to
use GetAttr()

> c) - then do some internal appliation processing:

> 
> I would like some IDCMP loop examples. I will look for them in
> your archive.
>

Crap, sorry, I prolly should've said that the new versions are in the
Classes/ dir and not in the archive.
 
> Thanks for the ansewer, Tim &
> have fun with the BeBox ... :-)
> 
> Gru=DF, Stefan aus Schwerte
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> rette sich, wer kann:                                   http://www.dlrg.de
> 

Tim

--------------------------------------

