Drag & Drop /Word

Heike

Regular
Joined
Jun 5, 2002
Messages
56
I have an AddIn written in VB.Net. This AddIn includes a form with a treeview. Now I want to copy data from this treeview per drag & drop. That works. But after the data has been copied to my word document I want to bring my form back to front. How do I know, that the data has been copied?

Thanks
 
I have no clue :-)

But as you always seem to ask questions that nobody is able to anwer, I'll have a try ....



Bringing the "sender" back to front is, as far as I recall, not the common standard. After dropping an object I think Windows will normally stay in the application where the object has been dropped.
 
I don't think this is possible, but if it is, I would like to know about it. That would mean that data could be changed depending on what application it was being dragged in to, and I had a need for that the other day.
 
this is probably not going to work but.. could you make the form always on top? using either the property provided by windows.forms.form or in the API (i don't know the statement i'd have to look it up, i'll try if you like)

the add-in you are using may provide some sort of method or parameter in a method to do that for you. have you checked all the functions it provides?

just running off ideas.. maybe they will at least give you some direction.
good luck
 
Back
Top