Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLEDragDrop GetData() in BMP/WAV format?
Message
De
23/05/2005 15:39:32
 
 
À
23/05/2005 14:36:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01016102
Message ID:
01016872
Vues:
54
Hi Herman,

>You're welcome. Let me know if you need some help :-)

Thanks for helping me out. I really, really appreciate your help. :)

Here's where I'm at: Thanks to you I can successfully detect the presence of image data being dropped on my VFP image control. And now I can even read the data via oDataObject.GetData( CF_DIB )!

Unfortunately, I can't figure out what to do with the binary data stream that .GetData( CF_DIB ) returns. I don't think that .GetData( CF_DIB ) is returning valid DIB data and here's why: If I strtofile( .GetData( CF_DIB ), "TEMP.DIB" ) I can't view TEMP.DIB using VFP's image control, MS Paint, or the IrfanView image utility. This leads me to believe that either:

1. the data I'm retrieving isn't a raw DIB data stream

2. the data I'm retrieving is DIB data but missing a special type of data header/prefix and/or data suffix

3. VFP's implementation of .GetData() has a problem returning data of type CF_DIB and thus I'm getting corrupted DIB data?

4. some other reason?

Any ideas you might have would be greatly appreciated!

Thanks again for your help, Herman,

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform