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

>The Bitmap Data is in DIB format:
>
#define CF_DIB 8
>if oDataObject.GetFormat( 2 )
>  lcData = oDataObject.GetData( CF_DIB )
>  ? lcData
>endif
>
Awesome! Thank you! You made my day! :)

I was so close, yet obviously so far. I would have never figured out that the format I use in recognizing data via .GetFormat() might be different than the format that I would use to retrieve the data via .GetData(). Your solution opens up a lot of other doors for me as well (light bulb turning on over my head).

Any suggestions on how I might convert that chuck of DIB data I get to a BMP? I'm going to see what's available in VFP 9's new GDI+ class and then go over to News2News.com.

Again, thank you very much for your help!

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