Prod.: Engine, ver.: 6011, ID: 60000484, Bug : VDDragDropEx, VDDragEnterEx, VDDragOverEx events of Vdraw Wrapper fire with wrong DropEffect

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

Article60000484
TypeBug
ProductEngine
Version6011
Date Added4/21/2008
FixedYes [4/21/2008]
Submitted bychristof duvenbeck
Keywords

Subject

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

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