Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEDragDrop GetData() in BMP/WAV format?
Message
From
19/05/2005 23:58:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
OLEDragDrop GetData() in BMP/WAV format?
Miscellaneous
Thread ID:
01016102
Message ID:
01016102
Views:
110
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.

Any suggestions?

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Next
Reply
Map
View

Click here to load this message in the networking platform