PDA

Click to See Complete Forum and Search --> : Animated Gif Control with BitBlt


saracoglu
Jul 28th, 2000, 01:50 PM
The well known gif89.dll works indeed. However I need to control the speed of the animation. To slow it down, or speed it up.
There are several methodes like loading the gifs to an array of images, and setting the visible property to true with a timer. This method leads to crashes with transparent background gifs.
So I thought creating three sets of arrays, loading the gifs to the first array, creating the maps on the third array, and using bitblt create the third array holding the pictures. The third array will consist of non-transparent images, that seems to work fine, yet still with a simulated transparent background.
I guess this should work. But I think it is a bit too sophisticated.
Is there another methode? Any comments?

Sastraxi
Jul 28th, 2000, 07:23 PM
I believe there is a way... you want to display transparent animated gifs... Must be something on that. Anyway, what do you mean, maps? Would that be a mask, or a string like "00011111010111011000" to represent the transparent and non-transparent parts?