Graphisoft®

Dialog ManagerVersion: 2.0

ListViewDropTargetObserver::ListViewDragMoved

Event handler for the drag moved notification.

virtual void ListViewDragMoved (
    const ListViewDropTargetEvent & ev,
    DragDrop::Effect *  effect,
    DragDrop::Feedback * denyFeedback
);

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.
denyFeedback
Use this parameter to control the amount of target feedback. Can take the following values: DragDrop::AcceptSelAndIns, DragDrop::RejectSelection, DragDrop::RejectInsertion, DragDrop::RejectSelAndIns.

Description

This virtual member tracks the movement over a drop target in a drag and drop operation. It is possible to control the allowed effects over the drag target or draw custom feedback.