Board index » delphi » OLE drag&drop, how to find target?

OLE drag&drop, how to find target?


2003-10-13 01:27:57 PM
delphi212
i want to be able to drag some item (from TListView) into explorer, how can
i do this? i found lot of components, but all they allow 'drag from
explorer, drop to delphi form', how can i do the oposite? some of the
componets do that but they only copy files. i want to be able ONLY to get
TARGET FOLDER and i need to do actions manualy (from code)
thanks in advance.
 
 

Re:OLE drag&drop, how to find target?

In article <XXXX@XXXXX.COM>, Akz writes:
Quote
i want to be able ONLY to get
TARGET FOLDER and i need to do actions manualy (from code)

Dragging to Explorer requires OLE drag and drop; there are various components
out there (including Raize DropMaster, the current incarnation of the product
we used to market). However, regardless of what component or API you use to do
the plumbing, there's going to be no easy way to find the Explorer folder on
which the drop happened. Instead, you have to think about it differently; you
can package up data which will become the contents of one or more named files
in whichever directory receives the drop. In other words, by suitably
modifying your approach, you can get what you want, but without knowledge of
the actual drop directly.
Mon, 13 Oct 2003 22:45 EDT
Jim O'Brien, UnitOOPS Software