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--