Plantus acts as an OLE IDropSource. If, from Plantus, a plant is dragged from a plant list with the held-down left mouse button, an OLE IDropSource action is initiated.
All applications that answer to such an event with the corresponding OLE IDropTarget interface can react to this event.
An application can react to the OLE event when a window is registered as a suitable target for the Plantus OLE IDropSource event using the IDropTarget interface. The clipboard type for the transferred Plantus data must be specified as a parameter. The clipboard type for the Plantus data has the designation string:
TPW_PLANTUS_PLANT_RECORD
This clipboard type corresponds to the data contents of CF_TEXT, but has a different designation.
The implementation of IDropTarget contains corresponding callback functions for the events DropEnter, DropOver, DropLeave and Drop. Using these functions, it is possible to react to the event of a 'dropped' plant.
Type Designation and Optional Data
Breakdown of a Data Transfer: Global or Filter Lists
Breakdown of a Data Transfer, Pick Lists
![]()