Drag-and-Drop events in Word 2003

A

Alex

Hi,
Does anyone know how to drag data from Windows Application form's control to
Word document? In VS2005, I have a Windows Application form which has a Tree
View control (with XML data) on the left and MS Word embed on the right. I am
trying to drag the data from TreeView to Word document. Unfortunately, there
is no mouse events or drag/drop events I can catch. I've looked into
user32.dll but nothing seems helpful.

Any help would be greatly appreciated!

Thanks, all the best,
Alex
 
R

Russ

Hi Alex,
Userform dialogs appear to have drag and drop event capability for certain
controls (see VBA Help). Maybe that can get you closer to what you require?

Also there is this option mentioned in VBA Help:
This example turns on the drag-and-drop editing feature.
Options.AllowDragAndDrop = True
 
Top