I have some troubles with Drag & Drop on a Visio drawing control using C#. My problem is that I want to do drag and drop with non-shape objects and when I drag/drop over the drawing control I don't know what kind of object I am dragging/dropping (the shape added event does not work in this case because what I drop is not a shape). I need this to check if the currently dragged object is allowed to be dropped on the shape I am dragging over.
Unfortunately the drawing control does not provide the DragOver event like other .NET controls. I tried it with implementing the IVisEventProc interface but the mouse event neither provides a data object representing the object being dragged.
Doeas anybody know if this is possible at all?
Regards,
Marcus.