Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy Image Control To Clipboard
Message
De
08/01/2007 16:37:01
 
 
À
08/01/2007 16:09:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01141011
Message ID:
01183608
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform