Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Paint problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Titre:
Divers
Thread ID:
00853218
Message ID:
00853440
Vues:
19
Hi Yochanan,

Check this example:

Displaying animated images on FoxPro form with BitBlt and StretchBlt functions
http://www.news2news.com/vfp/?example=355&function=52

It shows how to load bitmap file and display it either on FoxPro form or on FoxPro main window.

The Canvas is quite convenient Delphi object nicely wrapping GDI Device Context functionality. Same in FoxPro is achieved through direct calls to GDI API functions:
BitBlt
GetWindowDC
DeleteDC
DeleteObject
GetObject
ReleaseDC
SelectObject
StretchBlt
...


Before running the example download spin24.bmp file from the same page. For displaying it on the main FoxPro window change GetFocus call to GetActiveWindow.
DECLARE INTEGER GetActiveWindow IN user32
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform