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
很多时候,TitleBar并没有太大的用处,相反会占用屏幕有限的显示空间,那么如何隐藏它呢?方法很简单,只需要在这个View的ViewConstructL()中添加如下代码: TQikViewMode mymode=this->ViewMode();//get the mode of the view mymode.Set