The Wikipedia has an example using CBasicAnimation to display a GIF file (it works great) However, I was looking to get the size of the GIF using CBasicAnimation's Size() function in order to draw the GIF in the centre of the screen. However, it always returns 0,0 so I can't calculate where the GIFs top point should be.
If I create a CImageDecoder and turn the first frame into a bitmap I can access the data, but this seems a bit convoluted.
Anyone know if CBasicAnimation Size() works with GIFs?
Thanks.



