|
|
Title | Draw animated shapes with transparent backgrounds stored in PictureBoxes |
Description | This example shows how to draw animated shapes with transparent backgrounds stored in PictureBoxes in Visual Basic 6. It displays a series of images in PictureBox controls, using SetWindowRgn to give each a transparent background. |
Keywords | image processing, animation, animate, image, SetWindowRgn, GetDIBits, SetDIBits, GetBitmapPixels |
Categories | Graphics, Multimedia |
|
|
Thanks to Gamal Ahmed.
When the program starts, it uses SetWindowRgn to trim the PictureBoxes to remove their transparent background pixels.
When this program's Timer control fires, the program displays the next PictureBox in thue animated sequence.
See the code for the details.
|
|
|
|
|
|