Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 15:53, 23 June 2008.

How to Display an Image in the Title Pane

From Forum Nokia Wiki

The Code below shows how to display an image in the Title Pane.

TUid titlePaneUid;
 
titlePaneUid.iUid = EEikStatusPaneUidTitle;
 
CEikStatusPane* statusPane = StatusPane();
 
CEikStatusPaneBase::TPaneCapabilities subPane =
statusPane->PaneCapabilities(titlePaneUid);
 
// if title pane is accessible //
 
if (subPane.IsPresent() && subPane.IsAppOwned())
{
 
            CAknTitlePane* titlePane = 
            (CAknTitlePane*)statusPane->ControlL(titlePaneUid);
 
            CFbsBitmap* bitmap = 
            iEikonEnv->CreateBitmapL(KBitMapFile, EMbmTitlepaneTitle);
 
            // set the title pane's image
       
            titlePane->SetPicture(bitmap);
 
}
Related Discussions
Thread Thread Starter Forum Replies Last Post
Status Pane and Control Pane Text Color stv2005 Symbian User Interface 2 2006-07-21 09:25
Soft key & Image display ssaniuec Symbian User Interface 1 2006-07-04 05:22
Display text and pictures in Python S60 jinxy Python 11 2008-06-25 10:13
Soft key & image display query ssaniuec General Symbian C++ 2 2006-07-03 12:37
Colored images in Navigation pane ??? kiranpuranik General Symbian C++ 1 2006-06-07 06:00
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX