hi
i want to run my progress bar recusively or any moving UI , untill i activate another view,
I m creating progress bar in container class in ConstructL, my code goes like this...

CEikProgressInfo::SInfo info;
info.iHeight = 20;
info.iSplitsInBlock = 0;
info.iTextType = EEikProgressTextNone;
info.iWidth = 50;
info.iFinalValue = 50;

CEikProgressInfo* iPgb = new(ELeave) CEikProgressInfo(info);
iPgb->ConstructL();
iPgb->SetPosition(TPoint(4, 20));
iPgb->SetContainerWindowL(*this)

my code exit on iPgb->ConstructL();
Can anyone tell me why this is happening or anyone can suggest what all i can use for this purpose.

Thanks