Graphisoft®

Dialog ManagerVersion: 2.0

ListViewDragSourceObserver::ListViewDragStarted

Event handler for the drag started notification.

virtual void ListViewDragStarted (
    const ListViewDragSourceEvent & ev,
    UShort *            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

Use this event to set custom drag and drop data in the drag source control.

Example

// Method Example:
void	DragTab3Observer::ListViewDragStarted (const DG::ListViewDragSourceEvent& /*ev*/, UShort* effect)
{
	*effect = DG::DragDrop::Delete | DG::DragDrop::Move | DG::DragDrop::Copy;
}

Drag started event handler for list view controls.