Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Paint problem
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Miscellaneous
Thread ID:
00853218
Message ID:
00853440
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform