EditDropTargetObserver::EditDropped
virtual void EditDropped ( const EditDropTargetEvent & ev, DragDrop::Effect * effect );
Parameters
- ev
A reference to the event. - effect
Drag and drop effect can take the following values: DragDrop::Reject, DragDrop::Accept, DragDrop::Copy, DragDrop::Move, DragDrop::Link, DragDrop::Delete.
Description
Example
// Method Example: void DragTab1Observer::EditDropped (const DG::EditDropTargetEvent& ev, DG::DragDrop::Effect* effect) { if (ev.GetSource () == &tabPage->multiEdit) *effect = DG::DragDrop::Copy; }
Identify the drop target, than modify the feedback by returning a modified effect.