Hello Henning

Henning Thielemann wrote at 06.12.2004:

>
>
> On Sat, 4 Dec 2004, siegel2k4 wrote:
>
>> 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:
>> 
>> if ( msg != NULL && msg->TreeNode != NULL )
>>   {
>>   struct  PWEntry *entry = msg->TreeNode->tn_User;
>>   printf("TreeNode: %s @ %x\n",msg->TreeNode->tn_Name,entry); 
>>   }
>> 
>> Well indeed here the entry Pointer is non-null but does not have any
>> of my added data in it, in fact it simply crashes??
>
> Maybe there was some mistake when creating oder adding the node? 
>

Well this is all possible, I have absolutly no idea how the NListtree works,
I just took the YAM sources and use almost the same functions to add data,
and at least it works for Thomas Igracki under MorphOS, so it seems to be 
okay...

Is there really no one here on this list that has experience with
NListtree??? I mean, YAM uses it, Contact Manager uses it, AmiTradeCenter
uses it, but no one is able to help???

Regards

-- 
  ___________________________ _____ ______________________________
__\                          \\___//                             /__/_
\         Name: Sascha 'SieGeL' Pfalz - Programmer/Oracle DBA      /
 \           E-Mail: [EMAIL PROTECTED] - ICQ: 9691810          /
  \              HTTP: http://www.saschapfalz.de                 /
  /         Formula One Fans visit http://www.f1-timer.de        \
 /________________________________________________________________\.vK



------------------------ 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