Thursday, January 22, 2015

HOW TO ADD VOLUME BAR IN NAVIPANE?



SetRect(CEikonEnv::Static()->EikAppUi()->ClientRect());
CEikStatusPane *iStatusPane = ((CAknAppUi*)iEikonEnv->EikAppUi())->StatusPane();
iNaviPane = (CAknNavigationControlContainer*) iStatusPane->ControlL(TUid::Uid(EEikStatusPaneUidNavi));
iNaviDecorator =iNaviPane->CreateVolumeIndicatorL(R_AVKON_NAVI_PANE_VOLUME_INDICATOR);
STATIC_CAST(CAknVolumeControl*,iNaviDecorator->DecoratedControl())->SetValue(10);
iNaviPane->PushL(*iNaviDecorator);

0 comments:

Post a Comment