Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEDragDrop GetData() in BMP/WAV format?
Message
From
24/05/2005 17:18:38
 
 
To
24/05/2005 16:55:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01016102
Message ID:
01017287
Views:
44
My comment "There may be other image formats present when GetFormat( CF_BITMAP ) is True (metafile and enhanced metafile formats?)" is wrong.

I don't think there are any other image formats accessible to VFP other than the CF_DIB format that Herman Tan discovererd.

Its strange that the following GetFormat()'s return True when an image is dragged from Word:
.GetFormat( CF_BITMAP )       && 2, raw BMP data
.GetFormat( CF_METAFILEPICT ) && 3, hande to metafile
.GetFormat( CF_DIB )          && 8, raw DIB data
.GetFormat( CF_ENHMETAFILE )  && 14, handle to enhanced metafile
But the only format that actually returns data via .GetData() is CF_DIB.

So, it appears that there are other image data present, but hidden :) away in oDataObject. Unfortunately, this other image data does not appear to be accessible via GetData().

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

Click here to load this message in the networking platform