Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating OLE drag-and-drop data object
Message
From
08/10/2004 16:17:47
Gerald McKinsey
Keystone Consulting Services, Inc.
Yorktown, Indiana, United States
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00937373
Message ID:
00950056
Views:
22
Hi there,

Have you checked the SetData method of the data object? You should be able to use it in the OLEStartDrag method to populate the data object.

HTH

>>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?
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform