Clipboard

  • Thread starter Thread starter Garry Harrison
  • Start date Start date
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.
 
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
 
Back
Top