Clipboard

G

Garry Harrison

I have populated the clipboard with text and a bitmap and
allow the contents of the clipboard to be dragged.

When I drag the above to MSWord. MSWord drops the text.

Is it possible to force MSword to drop the Bitmap and
Excel to drop the text.
 
1

100

Hi Garry,
I don't understand exactly how do you drag the clipboard contents. Anyway,
you cannot force oher applications to get a specific kind of data from the
dataobject, which one has dropped. The target application is free to chose
the
more appropriate for it data format.
If you use the cipboard /cut, copy and paste operations/ for transferring
data,
though, you can use Paste Special command supported by some application as
MSWord and MSExcel. With this operation the user can chose among the all
foramts in the clipboard it can paste.

BTW clipboard and drag&drop are not related at all. So, you don't have to
put something in the clipboard in order to drag it.
HTH
b/rgds
100
 

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