Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy Image Control To Clipboard
Message
From
08/01/2007 16:37:01
 
 
To
08/01/2007 16:09:05
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01141011
Message ID:
01183608
Views:
21
Claudio,

You can use Gdiplus for that.
Basically, you can load the image file to a Bitmap object, and obtain a hBitmap handle, using GdipCreateHBITMAPFromBitmap.

Then use "CopyImage", "OpenClipboard", "SetClipboardData(CF_BITMAP, hBmp)" and "CloseClipboard".

I'll try to prepare a sample using "System.Drawing" and hope to publish soon.

Abração

César
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform