Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEDragDrop GetData() in BMP/WAV format?
Message
 
 
To
19/05/2005 23:58:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01016102
Message ID:
01016541
Views:
46
Malcolm,

In case of a single value (CF_BITMAP, CF_WAVE, e.t.c), the value is returned by GetData method
lhBitmap = oDataObject.GetData(2)
...
>Anyone have any suggestions on how I can use the oDataObject.GetData() to retrieve binary BMP and WAV data dragged from another application?
>
>I can successfully recognize data in BMP and WAV format via
>
>oDataObject.GetFormat( 2 ) && binary BMP data (CF_BITMAP)
>oDataObject.GetFormat( 12 ) && binary WAV data (CF_WAVE)
>
>But ... I can't figure out how to retrieve this info once I've detected it:
>
>For example:
>
>oDataObject.GetData( 2 ) returns .F.
>
>and
>
>local laData[ 1 ]
>oDataObject.GetData( 2, @laData )
>
>doesn't change the default .F. value in laData.
>
>I'm also looking for a way to place binary BMP and WAV data in oDataObject so users can drag this type of info out of my application and back to their original applications.
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform