Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pushing an image resource to clipboard
Message
From
18/11/2005 02:29:38
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
01067727
Message ID:
01070089
Views:
18
Hi Alexander

>I think, this could be done with creating a stream object from your data >using CreateStreamOnHGlobal() WinAPI function, and loading a picture object >from stream using OleLoadPicture() function.

Thank you for your input and your time. Your GDI library is a great value.

Basically, I'm trying to develop a VFP-based XML-fed downloadable applet. For what it's worth, it seem doable with the help of molebox (a great russian software tool)

I try to reduce the code size (done), compress the VFP dlls + ocx-es (done via molebox) into a single library, and avoid as many risky dependencies and actions (such as relying on temp file resources).

>I'll try to write this sample later.

You'll be most welcome. It'd be fine to be able to create stream objects from VFP, for this case and possibly a couple of ocx that require them. I'm at a loss when when i need to use win32 api from VFP:)

Regards

Francois
Previous
Reply
Map
View

Click here to load this message in the networking platform