60000484 VDDragDropEx, VDDragEnterEx, VDDragOverEx events of Vdraw Wrapper fire with wrong DropEffect

Article 60000484
Type Bug
Product Engine
Version 6011
Date Added 4/21/2008
Fixed (4/21/2008)
Submitted by christof duvenbeck

Summary

VDDragDropEx, VDDragEnterEx, VDDragOverEx events of Vdraw Wrapper fire with wrong DropEffect

Solution

Corrected in version 6012.

The Default VDF implementation of drag and drop

1. Check if the DataObject is valid: The DataObject is  valid if it contains a vdml Memory Stream or a valid FileDropList of files with VectorDraw valid Open format extension.

2. In the DragEneterEx event, if the DataObject is valid and CTRL key is pressed then it is set to COPY operation else (no CTRL key pressed) it is set to MOVE operation. If object is not valid then it is set to NONE.

3. The default implementation of DragOver draws a movable Insert object if Data object is a vdml Memory Stream.

4. The Default implementation of DragDrop event add an Insert object and a block if DataObject is a vdml Memory Stream, or Attach an Xref if it is a FileDropList. Note: The default move operation of VDF will not delete the data

 

 

Send comments on this topic.