UIQ3.0系列--隐藏TitleBar

来源:互联网 发布:美拍怎么放淘宝链接 编辑:程序博客网 时间:2024/06/04 19:00
 
 
 
很多时候,TitleBar并没有太大的用处,相反会占用屏幕有限的显示空间,那么如何隐藏它呢?
方法很简单,只需要在这个View的ViewConstructL()中添加如下代码:
 
    TQikViewMode mymode=this->ViewMode();//get the mode of the view
    mymode.SetAppTitleBar(EFalse);//set as hidden mode 
    this->SetViewModeL(mymode);//set the mode to the view
 
原创粉丝点击