M
mfishbeyn
Hi,
My application (C#) uses Visio ActiveX control. I need to drop text string
from a modeless dialog (Form) into Visio control canvas. Within dialog I
create DataObject and call DoDragDrop (see code below)
DataObject myDataObject = new DataObject(DataFormats.Text, "MyText");
myForm.DoDragDrop(myDataObject, DragDropEffects.Move);
I am able to drop text string into Visio application, but not into Visio
control canvas within my application.
Why?
My application (C#) uses Visio ActiveX control. I need to drop text string
from a modeless dialog (Form) into Visio control canvas. Within dialog I
create DataObject and call DoDragDrop (see code below)
DataObject myDataObject = new DataObject(DataFormats.Text, "MyText");
myForm.DoDragDrop(myDataObject, DragDropEffects.Move);
I am able to drop text string into Visio application, but not into Visio
control canvas within my application.
Why?