Drag-and-drop onto a CTree



In my application, I want to be able to drag stuff onto a entry in a CTree. I
*also* want to be able to use the CTree's own drag-and-drop to reorder the
entries. How can I do both of these at once?

I've found that the CTree's native drag-and-drop is easy to enable;
set_reorderable(1) will do it. Unfortunately, this either overrides or is
overridden by the external DnD settings, so I can only get one setting or the
other, but not both.

I suspect that I need to know how the CTree's native DnD works so I can add the
appropriate stuff to the target list. Does anyone have any pointers?

-- 
+- David Given --------McQ-+ 
|  Work: dg tao-group com  | There is no spoon.                                
|  Play: dg cowlark com    | 
+- http://www.cowlark.com -+ 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]