> + node 1
>      - node 11
> + node 2
>      - node 12

Do something like that:


tn1=(struct MUI_NListtree_TreeNode
*)DoMethod(obj,MUIM_NListtree_Insert,name1,data1,MUIV_NListtree_ListNode_Root,MUIV_NListtree_PrevNode_Head,0);
DoMethod(obj,MUIM_NListtree_Insert,name11,data11,tn1,MUIV_NListtree_PrevNode_Head,0);
tn2=(struct MUI_NListtree_TreeNode
*)DoMethod(obj,MUIM_NListtree_Insert,name2,data2,MUIV_NListtree_ListNode_Root,MUIV_NListtree_PrevNode_Head,0);
DoMethod(obj,MUIM_NListtree_Insert,name22,data22,tn2,MUIV_NListtree_PrevNode_Head,0);

where names are STRPTR if you really need them (e.g. you want to search by
name) otherwise put something like "M" there and data are your data.

Ciao. Alfonso.



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