intercept a drop on an Office document?

C

Colbert Zhou [MSFT]

Hello Dave,

Office does not expose any DragDrop events. The only workaround is
implementing our own IDataObject. Then we will get notification when our
type dataobject is draged onto Office document.

I remember we discussed this kind of question before. Here is a link I
searched out,
http://www.archivum.info/microsoft.public.office.developer.com.add_ins/2008-
08/00060/need_the_drop_location_of_drag_amp_drop_in_a_Word_Excel_PPT_documen
t


Best regards,
Ji Zhou
Microsoft Online Community Support
 
D

David Thielen

Hi;

We have that. Unfortunately that does not get any message when the
actual drop occurs. We have seen that Word calls GetData() once when
it drops - but Excel calls it twice, once when starting and then a
second time when dropping.

We're worried if we depend on that behavior we will hit cases where it
does not work that way. Is there something we could look for in the
messages to know it's being dropped?

thanks - dave


Hello Dave,

Office does not expose any DragDrop events. The only workaround is
implementing our own IDataObject. Then we will get notification when our
type dataobject is draged onto Office document.

I remember we discussed this kind of question before. Here is a link I
searched out,
http://www.archivum.info/microsoft.public.office.developer.com.add_ins/2008-
08/00060/need_the_drop_location_of_drag_amp_drop_in_a_Word_Excel_PPT_documen
t


Best regards,
Ji Zhou
Microsoft Online Community Support


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 

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