Has anyone else noticed that there are specific values that you can set as the width and final value of CEikProgressInfo control, without making it to Panic? I'm running S60 v2.0 SDK and create the control with the following code:
info.iHeight = KProgressBarHeight; //10
info.iSplitsInBlock = KProgressBarSplitsInBlock; //0
info.iTextType = EEikProgressTextNone;
//width 114, final val 50 -> does not panic
//width 120, final val 30 -> does not panic
//width 150, final val 50 -> PANIC!
//width 119, final val 60 -> PANIC!
info.iWidth = 150;
info.iFinalValue = 50;
iPBar = new( ELeave ) CEikProgressInfo( info );
iPBar->ConstructL(); //THIS PANICS WITH EIKCTL 25!!
Does anyone know, if there is some rule how the width and final values should be set without making the control to Panic??