TreeCtrl drag and drop, copy and move

Hi everyone!
I'm trying to implement DnD on a TreeCtrl and I need to handle both
"copy" and "move" operations (if the user keeps CTRL pressed)..
First of all, I searched the wiki for an example and I'm confused as
to which method to use.. Should I use DropSource/DropTarget or just
handle EVT_TREE_BEGIN_DRAG and EVT_TREE_END_DRAG?
If the latter, how can I tell if the user is requesting a "move"
operation?

Thanks for your attention!

Reading the relevant paragraph from "Cross-Platform GUI Programming
with wxWidgets" gave me the necessary insight to solve the issue :slight_smile: (I
went for the first solution, for the record)

Thanks all the same!

ยทยทยท

On 27 Set, 10:09, Joril <jor...@gmail.com> wrote:

Should I use DropSource/DropTarget or just
handle EVT_TREE_BEGIN_DRAG and EVT_TREE_END_DRAG?