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.

Revision as of 11:14, 17 November 2008 by Forum Nokia KB (Talk | contribs)

Archived:Changing the skin of the status pane on Symbian

From Wiki
Jump to: navigation, search


Article Metadata
Tested with
Devices(s): Nokia 6210, Nokia N78
Platform(s): S60 3rd Edition, S60 3rd Edition, FP1
S60 3rd Edition FP2
Keywords: KAknsIIDQsnBgAreaStatus, KAknsIIDQsnBgAreaStaconRt
Created: (17 Nov 2008)
Last edited: Forum Nokia KB (17 Nov 2008)


Changing the status pane skin background, including the panes for signal and battery strength, was not possible prior to S60 3rd Edition, Feature Pack 2. Previously these subpanes were drawn on the server side but from S60 3rd Edition, FP2 onwards the entire status pane is owned by the application, making it possible to provide the correct theme also for the battery and signal strength subpanes.


 MAknsSkinInstance* pSkin = AknsUtils::SkinInstance();
const TAknsItemID elementID = KAknsIIDQsnBgAreaStatus;
// KAknsIIDQsnBgAreaStaconRt as TAknsItemID can be used to skin
// status pane in landscape mode
// Load desired bitmap for background.
CAknsItemDef* pMenuSkinItemCBA
= AknsUtils::CreateBitmapItemDefL( elementID,
EMbmUntitled );
if ( pMenuSkinItemCBA )
TRAPD( err_skin, pSkin->SetLocalItemDefL( pMenuSkinItemCBA) );

The above code can be used to change the skin of the status pane (excluding the battery and signal strength panes) in devices prior to S60 3rd Edition, FP2.

Skinning in S60 3rd Edition, FP1:

Skinning in 3rd Ed FP1.jpg

Skinning in S60 3rd Edition, FP2:

Skinning in 3rd Ed FP2.jpg

49 page views in the last 30 days.