SAMPLE: Flip.exe - BitBlt and StretchBlt Animation

ID: Q103339

The information in this article applies to:

SUMMARY

Flip.exe is a Visual Basic(TM) program that uses the BitBlt and StretchBlt functions to animate graphics. The program simulates flipping tiles.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ Flip.exe (size: 29378 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

BitBlt copies icons instead of using individual picture boxes. StretchBlt also copies bitmaps from a source to a destination, but compresses or stretches the original bitmap.

To load FLIP files in the Visual Basic environment, run VB.EXE, choose Open Project from the File menu, and select the FLIP.MAK file.

FLIP was built with Microsoft(R) Visual Basic version 3.0 and tested under Microsoft Windows(TM) version 3.1.

Additional query words: Keywords : kbfile kbsample kb16bitonly kbBitmap kbGDI

Last Reviewed: July 14, 1999