Drag & drop text string into Visio ActiveX control

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top