Graphisoft®

Dialog ManagerVersion: 2.0

UserItemDragSourceObserver::UserItemDragEnded

Event handler for the drag ended notification.

virtual void UserItemDragEnded (
    const UserItemDragSourceEvent & 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

This is the place to process the effect received form the drop target. If you provided custom drag source feedback, it is time to hide it.

Example

// Method Example:
void	DragTab3Observer::UserItemDragEnded (const DG::UserItemDragSourceEvent& /*ev*/, DG::DragDrop::Effect /*effect*/)
{
	DestroyUserItemFeedback ();
}

Drag ended event handling in user item controls.