Hello,
should MUIM_Listtree_Exchange work?
I'm asking because here (in CRABUM) it doesn't;(
I build the notifications like this:
NotifyBut(data->butUp, data->ltMenu, 6, MUIM_Listtree_Exchange,
MUIV_Listtree_Exchange_ListNode1_Active,
MUIV_Listtree_Exchange_TreeNode1_Active,
MUIV_Listtree_Exchange_ListNode2_Active,
MUIV_Listtree_Exchange_TreeNode2_Up,0);
NotifyBut(data->butDown, data->ltMenu, 6, MUIM_Listtree_Exchange,
MUIV_Listtree_Exchange_ListNode1_Active,
MUIV_Listtree_Exchange_TreeNode1_Active,
MUIV_Listtree_Exchange_ListNode2_Active,
MUIV_Listtree_Exchange_TreeNode2_Down,0);
Where NotifyBut is defined as:
#define NotifyBut(srcObj, dstObj, cnt, args...) DoMethod(srcObj, MUIM_Notify,
MUIA_Pressed, FALSE, dstObj, cnt, args)
Is there another way to swap two entries or move one entry up/down in a
listtree?
--
Ciao, Thomas!
------------------------------------
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/MUI/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> 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/