How to enable navigation arrows
来源:互联网 发布:网络摄像机监控方案 编辑:程序博客网 时间:2024/04/30 23:13
We may need to show the navigation arrows in the status pane. This can be done using the following code snippet :
CAknNavigationDecorator* iNaviLabel;
CAknNavigationControlContainer* iNaviContainer;
CEikStatusPane* sp=(STATIC_CAST(CAknAppUi*,iEikonEnv->EikAppUi()))->StatusPane();
iNaviContainer =(STATIC_CAST(CAknNavigationControlContainer*,
sp->ControlL(TUid::Uid(EEikStatusPaneUidNavi))));
if ( iNaviLabel )
{
iNaviLabel = NULL;
}
iNaviLabel = iNaviContainer->CreateNavigationLabelL( _L("label") );
iNaviLabel->MakeScrollButtonVisible(ETrue);
// Activate navi label so that it becomes visible and active
iNaviContainer->PushL( *iNaviLabel );
TBool isVisible =iNaviLabel->ScrollButtonVisible();
iNaviLabel->SetScrollButtonDimmed(CAknNavigationDecorator::ELeftButton, EFalse);
iNaviLabel->SetScrollButtonDimmed(CAknNavigationDecorator::ERightButton,EFalse);
- How to enable navigation arrows
- How to enable web condor?
- How to enable the debugfs
- How to Enable Multi-Touch
- how to enable debug in eclipse + weblogic
- how to enable sql dependency output cache
- How to enable SSO on domino server
- How to enable SSL on domino server
- How to enable email notification of commits
- How to enable Windows Installer logging
- How to enable DNN Site Log
- How to enable Oracle listener tracing
- How to enable scanner on CN3 device
- How To Enable Apache Modules in Ubuntu
- How to enable directory listing in tomcat
- Android 4.0 How to enable Bluetooth PANU
- How to enable IP Forwarding in Linux
- how to enable debug in configure?
- 如何实现目录选择
- 【Systemtap】Cent OS 5.4 final下Systemtap的安装
- Excel VBA初级系列培训--课时3
- windows系统下JDK1.6环境变量配置
- 关于网上商店发展现状的调查报告
- How to enable navigation arrows
- 教你轻松拿下百度音乐播放器mp3地址
- 问答收集
- script 中的jsp代码加载页面
- Passing a list of objects from view to controller via jquery ajax(Json(aspx) -> object(C#))
- GDI绘制png
- 自定义的symbian图片控件,可在任意的位置放图片
- kangle web服务器---国内唯一提供技术服务的web服务器
- 放假了