Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLEDragDrop GetData() in BMP/WAV format?
Message
De
19/05/2005 23:58:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
OLEDragDrop GetData() in BMP/WAV format?
Divers
Thread ID:
01016102
Message ID:
01016102
Vues:
114
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform