Originally Posted by moeur
I uploaded a new version of the GIF animator.
I totally redesigned the class so that it is much more useful.
One problem that exists is that with a certain type of animated gif you will not get a transparent background. This is because some GIFs use a mask to facilitate the transparency which is imbedded in the gif encoding. I don't venture into the encoded image data instead I cheat and use the VB LoadPicture function. LoadPicture handles the masked GIFs OK, but TransparentBLT and the stdPicture object cannot.
Take a look at the demo, it uses the control to anmate a helicopter that flies around the form and the class to animate a picture on a Command Button as well as a group of animated smilies.
This code is an improvement on the ANIGIF control that is sold online because it has a true background transparancy (i.e. the helicopter) and handles a type if GIF that ANIGIF cannot (again the helicopter).