event OLECompleteDrag (Effect as Long)

Occurs when a source component is dropped onto a target component, informing the source component that a drag action was either performed or canceled

 TypeDescription 
   Effect as Long A long set by the source object identifying the action that has been performed, thus allowing the source to take appropriate action if the component was moved (such as the source deleting data if it is moved from one component to another.  

The OLECompleteDrag event is the final event to be called in an OLE drag/drop operation. This event informs the source component of the action that was performed when the object was dropped onto the target component. The target sets this value through the effect parameter of the OLEDragDrop event. Based on this, the source can then determine the appropriate action it needs to take. For example, if the object was moved into the target (exDropEffectMove), the source needs to delete the object from itself after the move. The ExFileView control only supports manual OLE drag and drop events. In order to enable OLE drag and drop feature into ExFileView control you have to check the OLEDropMode and OLEDrag properties.

The settings for Effect are:



Send comments on this topic.
© 1999-2006 Exontrol Inc, Software. All rights reserved.