View Full Version : animation of gif


impankaj24
13-06-2005, 12:51 PM
Hi All,

Can anyone please tell me that how I can get get an animated GIF on screen?
I am using following code snippet.....

_LIT(image,"C:\\Images\\idle.gif");
CPAlbImageViewerBasic *iViewer = CPAlbImageViewerBasic::NewL(this,Rect());
iViewer->SetImageNameAndDisplaymodeL(image, EColor4K);
iViewer->LoadImageL();

if(iViewer->IsAnimation())
{
iViewer->PlayAnimationL();
}
//MPAlbAnimationObserver *aObserver;
gc.BitBlt(TPoint(40,40),iViewer->Bitmap());


What else I need to do in this to perform animation.....

please reply
thanks
pankaj