Graphisoft®

Dialog ManagerVersion: 2.0

ListViewDragSourceObserver::ListViewDragStarting

Event handler for the drag starting notification.

virtual void ListViewDragStarting (
    const ListViewDragSourceEvent & ev,
    bool *              canStart
);

Parameters

ev
A reference to the event.
canStart
false by default. If true, the drag and drop operation can start in list view controls.

Description

If this event rise it is time to decide to let the drag and drop start from this control or not.

Example

// Method Example:
void	DragTab3Observer::ListViewDragStarting (const DG::ListViewDragSourceEvent& /*ev*/, bool* canStart)
{
	*canStart = true;
}

Drag starting event granted in a list view control.