Search
FlowChart.CreateObjsFromDragData Method
See Also
 



Creates diagram elements from OLE drag-and-drop data.

 Syntax

VB6  Copy Code

Public Sub CreateObjsFromDragData( _
    ByVal x As Long, _
    ByVal y As Long _
)

C++  Copy Code

public:
void CreateObjsFromDragData (
    int x,
    int y
)

 Parameters

x
The horizontal offset at which the objects are to be created.
y
The vertical offset at which the objects are to be created.

 Remarks

When diagram objects are dragged from one FlowChartX instance to another, the OLE data-object that represents the dragged data contains a stream object, in which the dragged diagram elements are serialized. If the FlowChartX instance that receives the drop is set to programmatic drag-and-drop mode, the dragged objects can be de-serialized by calling this method. The x and y parameters specify the offset at which the diagram element should be created; usually they would be given the value of the current mouse position.

 See Also