TUid titlePaneUid;
titlePaneUid.iUid=EEikStatusPaneUidTitle;
CEikStatusPane * statusPane=StatusPane();
CEikStatusPaneBase::TPaneCapabilities subPane=statusPane->PaneCapabilities(titlePaneUid);
if(subPane.IsPresent() && subPane.IsAppOwned())
{
CAknTitlePane * titlePane=(CAknTitlePane *)statusPane->ControlL(titlePaneUid);
CFbsBitmap *bitmap=CEikonEnv::Static()->CreateBitmapL(KKK,EMbmSendpictrueTick);
titlePane->SetPicture(bitmap);
}
在RSS中构造TAB时将其隐藏titlePaneUid.iUid=EEikStatusPaneUidTitle;
CEikStatusPane * statusPane=StatusPane();
CEikStatusPaneBase::TPaneCapabilities subPane=statusPane->PaneCapabilities(titlePaneUid);
if(subPane.IsPresent() && subPane.IsAppOwned())
{
CAknTitlePane * titlePane=(CAknTitlePane *)statusPane->ControlL(titlePaneUid);
CFbsBitmap *bitmap=CEikonEnv::Static()->CreateBitmapL(KKK,EMbmSendpictrueTick);
titlePane->SetPicture(bitmap);
}
RESOURCE STATUS_PANE_APP_MODEL r_pttdemo_status_pane
{
layout=R_AVKON_STATUS_PANE_LAYOUT_EMPTY;
panes =
{
SPANE_PANE
{
id = EEikStatusPaneUidNavi;
type = EAknCtNaviPane;
resource = r_pttdemo_navi_decorator;
}
};
}