I have a wxTreeCtrl with many items which I'd like to drag around to
change their order. The number of items is quite high that all items
will not be displayed in the same window at once. A vertical scrollbar
is automatically shown.
However, when I drag the item and the drop target is not shown in the
current client window, the client window is not automatically scrolled
up or down to show more items, which is the behavior I would like to
expect, like in Windows Explorer.
Is there any setting I should do with wxTreeCtrl to enable automatic
scrolling when items are dragged? Or if I have to implement it myself,
what's the best way to proceed?
Thanks much for helping.
I have a wxTreeCtrl with many items which I'd like to drag around to
change their order. The number of items is quite high that all items
will not be displayed in the same window at once. A vertical scrollbar
is automatically shown.
However, when I drag the item and the drop target is not shown in the
current client window, the client window is not automatically scrolled
up or down to show more items, which is the behavior I would like to
expect, like in Windows Explorer.
Is there any setting I should do with wxTreeCtrl to enable automatic
scrolling when items are dragged? Or if I have to implement it myself,
what's the best way to proceed?