Table Tree Event: DragSourceFill 

Purpose

Event-notification that a drag-and-drop operation has begun.

Syntax

The DragSourceFill event-handler has the syntax:

void DragSourceFill(Object DataObject, Object Node, Short *Handled)

Parameters

Description

TheDragSourceFill event is fired when the user starts a drag-and-drop operation on node Node. The Data object to be used for drag and drop is passed in as DataObject and represents a SAP Data Object.

If you code an event-handler for this event, your code can fill DataObject with the appropriate data, and set the Handled flag to TRUE. In this case, any default event processing by the control is disabled.

If the event-handler for this event does not set Handled to TRUE, the control performs default event-handling. This includes adding the selected data to the data object using the formats CF_TEXT, ‘SAPTreeNodeStream’ and ‘SAPTreeItemStream’.

Any data stored in the data object using these formats is overwritten (see also Logon Object).