Namespaces

Variants
Actions

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 over the next few weeks. Thanks for all your past and future contributions.

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

From Wiki
Jump to: navigation, search

Archived.pngArchived: 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
S60 3rd Edition FP1
S60 3rd Edition (initial release)
S60 2nd Edition (initial release)
S60 1st Edition
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 );

This page was last modified on 14 June 2012, at 07:32.
55 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×