--- In [EMAIL PROTECTED], "siegel2k4" <[EMAIL PROTECTED]> wrote:
> 
> 
> Hi MUI Mailing List,
> 
> I have a problem using NListtree, for whatever reason it refuses to
> work here. I already posted this problem to utilitybase.com and to
> amigadev.aw.net but currently no one seems to be able to help me,
so I
> will try it now here.
> 
> The problem is the display hook I'm using. As long as I did not try
to
> add any data to an empty nlisttree object, the display hook gets
> called for the header of the tree. So far everything is good.
> 
> When I try to add data to the tree, my Display hook gets called (as
> expected) and I try to extract the data from the userdata field:
> Thanks for any help!

I've been playing with it for awhile and I can see that if you put
values like msg->Array[0] = "test"; msg->Array[1] = "test2"; .. then
it seems to use your display hook fine.. but it doesnt seem to be
using the UserData field correctly.. when I tried copying the UserData
field to the new PWEntry struct you create in the displayhook, it
would say incompatible types.. or something like that.. it should be
the same type shouldnt it? We're using the same struct when adding
entries.. I dont understand it..

Anyway, maybe the MUI guys here can tell us how to use the UserData
field?





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/16uqlB/TM
--------------------------------------------------------------------~-> 

Visit http://www.amiga.dk/tumult for MUI-related
information, especially about MUI custom classes. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MUI/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to