Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

How to display an image in the title pane using Symbian C++

From Wiki
Jump to: navigation, search

This code snippet shows how to display an image in the Symbian title pane.

Article Metadata
Created: vasant21 (10 May 2007)
Last edited: hamishwillee (25 Jan 2012)


Source code

Headers required

#include <eikspane.h>
#include <akntitle.h>
#include <fbs.h>

Library Needed

LIBRARY  avkon.lib fbscli.lib


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 =
CFbsBitmap* bitmap =
iEikonEnv->CreateBitmapL(KBitMapFile, EMbmTitlepaneTitle);
// set the title pane's image
This page was last modified on 25 January 2012, at 03:02.
34 page views in the last 30 days.