Le 03/07/2005, Alfonso Ranieri a écrit:

>> + 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);

I've just found the origin of my problem. If I use what you suggest, it
seems to fail. I have to use the flag TNF_LIST for the nodes that are not
leaves. This flag is not documented in the "MUIM_NListree_Insert" part but
at the beginning, in the Background part ...

I use the last version of the NList package.

Regards,

-- 
Mathias PARNAUDEAU




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