Purpose
Event-notification that the user has dropped data into a target control.
Syntax
The Drop event-handler has the syntax:
void Drop(Object Node, Object DataObject, Long * Effect, Short *Handled)
Parameters
Description
The Drop event is fired if the control’s client area is the drop target of a
drag-and-drop operation.Use DataObject’s IsFormatAvailable and GetData methods to retrieve the data stored in DataObject. This data was originally filled in the
DragSourceFill event and may be stored in any format. (The source control may be either a Table Tree or a Table View control.)In most cases, you should then set Handled to TRUE. Otherwise the control’s default drag-and-drop processing is executed.
The Effect parameter indicates whether the DataObject should be copied, moved or whether a link should be established.
The Effect parameter is initially set in the DropEnter event-handler, then passed in to Drop event-handler, and subsequently on to the DropComplete event-handler fired by the drop source control.