I have a wxTreeCtrl widget with scroll bars, where I want to drag and drop items on other items. But when I drag an item, how can I make the control automatically scroll invisible items into view?
views:
195answers:
1
+1
A:
As far as I know, you should do it manually. Derive a class from wxTreeCtrl, override relevant methods to capture mouse drag event. Then manually call scroll function with a reasonable amount when the dragging is at the top/bottom.
Koray Balci
2009-04-21 19:08:16