I'm using Visio ActiveX control in my application. I would like to get
DragOver feedback from the target when a target dragged over the Drawing
window.
I was able to get IDataObject for the document with the following code.
Microsoft.Office.Interop.Visio.Document doc = this.axDrawingControl1.Document;
System.Windows.Forms.IDataObject idata= new DataObject(doc);
But, I'm not able to get IDropTarget using following code.
Microsoft.VisualStudi
LE.Interop.IDropTarget iDrop =
(Microsoft.VisualStudi
LE.Interop.IDropTarget)doc;
How can I get the IdropTarget for the Visio drawing document?
Is there some other way I can use to detect targets dragged over the drawing
document?
As of now, I'm able to get only ShapeSheet added event.
Thanks,
Prabhakar.
But
When I drag an object like zip file over the Visio Drawing, I would like to
get DragOver event