On 20.04.11 (19:13:13), Thomas Igracki wrote: > Hello, > > I have a button created with MUI_MakeObject(MUIO_Button, label). > Then this notification: > DoMethod(data->butDown, MUIM_Notify, MUIA_Pressed, FALSE, > 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); > > ltMenu is a subclass of MUIC_Listtree. > > But pressing the button doesn't do anything!? > Should this work or is there a bug in MUIM_Listtree_Exchange? > > Also if I set MUIA_Listtree_DragDropSort to true, (then I also set > MUIA_Listview_DragType to MUIV_Listview_DragType_Immediate to the parent > obj of ltMenu (a ListviewObject)) > and I drag an entry around the "dotted lines" which marks the destination > position doesn't > disappear when moving the entry around.
I remembered that owb also has a listtree with dragdrop sort and had a look at owb sources, and found the DragReport method, then did some copy&paste and voila no more ugly "dotted lines" when dragging! Shouldn't/couldn't Listtree handle this himself? -- 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/
