 |
| Displaying animated images on FoxPro form with BitBlt and StretchBlt functions |
User rating: 0/10 (0 votes) | |
|
|
 |
 |
| Before you begin: |
 |
Save this file to the same directory with the following code:

See also:
Scrolling text on the form horizontally (a newsreel)
Scrolling text on the form vertically (a movie cast)
Shaking VFP form controls
Playing AVI on _screen
Form Magnifier
|
 |
 |
| |
| |
Members area. Log in to view this example. |
|
| |
|
|
|
|
|
 |
User rating: 0/10 (0 votes) | |
| 4057 bytes Created: 2002-12-28 18:40:50 Modified: 2009-01-03 15:26:33 Visits in 7 days: 97 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| My comment: |
 |
The Timer control works as a projector, retrieving frames from the bitmap, which is selected into memory device context. Obviuosly it takes a small fraction of time and does not degrade performance too much.
Though you must understand that the Timer is in the same process and thread as the whole FoxPro application. That means it can stop or slow down while there is another time consuming operation around.
|
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|