Namespaces
Variants
Actions
Revision as of 10:32, 14 June 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Hiding status and control panes using Symbian C++

Jump to: navigation, search
Archived.png
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}}.


Article Metadata

Compatibility
Platform(s): S60 1st Edition
S60 2nd Edition and FP1, FP2, FP3
S60 3rd Edition and FP1

Article
Created: User:Technical writer 2 (17 Aug 2007)
Last edited: hamishwillee (14 Jun 2012)

Overview

Hiding status and control panes

Description

It is possible to hide the status and control panes to create a full-screen application.

Solution

The easiest way to switch an application to full screen is to call
    SetExtentToWholeScreen();
on a (CCoeControl-derived) window-owning control. This will set the window size  to cover the entire screen, and applications can now draw over the area occupied by status and control panes.
However, it is also possible to hide the panes explicitly if required.
To hide the status pane:
    CEikStatusPane* statusPane =
        CEikonEnv::Static()->AppUiFactory()->StatusPane();   
    statusPane->MakeVisible(EFalse);
An alternative way is to specify an empty layout for the status pane in the application resource file:
    RESOURCE EIK_APP_INFO
        {
        ...
        status_pane = R_AVKON_STATUS_PANE_LAYOUT_EMPTY;
        ...
        }
To hide the control pane:
    CEikButtonGroupContainer* cba = CEikButtonGroupContainer::Current();
    cba->MakeVisible( EFalse );

140 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved