> I'm trying to use a tree control and I'm not able to :
>
> X) Have a 'drag image' during dragging => Minor issue, but maybe someone can comment ?
I don't know how to do this
> X) Implement a mechanism to scroll the tree during dragging => blocking me for the moment .
> (For reference : in Tk I once implemented this by starting a timer when going out of the window containing the tree.
> On that timer I then scrolled the window smoothly).
For this you can use an EVT_MOTION and/or EVT_LEAVE_WINDOW and a Wx::Timer;
to scroll the window, Wx::TreeCtrl API does not allow you to scroll the window
pixel-by-pixel; you may use $tree->ScrollTo( $item )
HTH
Mattia
|