I am using an Active-x object (a DBITech ctList box) and want to let the user drag something from it to another (standard VFP) object.
The DBITech listbox gives me an event for drag-out, so I have a place to put my code. My problem is how to create the OLE DataObject to contain the data I am dragging, which will subsequently be picked up by the target object.
The VFP doc says I can't create it programmatically. (From the HELP:)
>The DataObject object cannot be created programmatically
>and references to it become invalid once the OLE drag-and-drop
>operation is complete. The DataObject is passed as the
>oDataObject parameter in the OLEDragDrop, OLEDragOver, OLESetData,
>and OLEStartDrag events.
and those VFP methods don't exist for an active-x object.
Is there an API function that would let me create this object, or should I just simulate it programmatically?
TIA, Tom
Tom Green in Montreal