如何设置进度条边框?
我的代码是这样的:
void CLVSRAppView::CreateProgressBarL( )
{
CEikProgressInfo::SInfo info;
TGulBorder oBorder;
info.iHeight = 10;
info.iWidth = 230;
info.iSplitsInBlock = 0;
info.iTextType = EEikProgressTextNone;
info.iFinalValue = 100;
iProgBar = new( ELeave ) CEikProgressInfo( info );
iProgBar->ConstructL();
iProgBar->SetPosition( TPoint( 5, 30 ) );
oBorder = iProgBar->Border();
iProgBar->SetBorder(TGulBorder(TGulBorder::ESingleBlack));
oBorder = iProgBar->Border();
iProgBar->SetContainerWindowL( *this );
}
Debug 调试Border是存在,并且设置成功了,为什么Emulator上确显示不了?