Archived:Changing the skin of the status pane on Symbian
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
This article needs to be updated: If you found this article useful, please fix the problems below then delete the {{ArticleNeedsUpdate}} template from the article to remove this warning.
Reasons: hamishwillee (05 Oct 2011)
As per article comments there are devices this snippet does not work for. Workarounds required. Would also be useful if ArticleMetaData were update.
Reasons: hamishwillee (05 Oct 2011)
As per article comments there are devices this snippet does not work for. Workarounds required. Would also be useful if ArticleMetaData were update.
Article Metadata
Tested with
Devices(s): Nokia 6210, Nokia N78
Compatibility
Platform(s): S60 3rd Edition, S60 3rd Edition, FP1
Article
Keywords: KAknsIIDQsnBgAreaStatus, KAknsIIDQsnBgAreaStaconRt
Created: User:Technical writer 1
(17 Nov 2008)
Last edited: hamishwillee
(07 Sep 2012)
Description
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.
Solution
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,
bitmapFile,
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 S60 3rd Edition, FP2:



Pawarsachin s - Statuspane background color change on E72
Hi All,
The above code snippet works perfectly with Nokia 6220 classic, But the same is not working with Nokia E72. Any suggestions on how it can be achieved.
Thankspawarsachin_s 18:37, 15 June 2011 (EEST)
Jp4symbian - Status pane skin on E71
Hi,
Has anyone implemented status/navigation pane skin change on a Nokia E71, E72 or E63? Please post the solution if anybody has successfully implemented on these devices.
Thanks.jp4symbian 15:07, 29 September 2011 (EEST)