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.

Hiding Status panel

From Wiki
Jump to: navigation, search
Article Metadata
Created: symbianyucca (30 Mar 2007)
Last edited: hamishwillee (23 Jul 2012)
Reviewer Approved    Thumbs up icon sm.jpg

With some application it is useful to take the whole area of the status pane to be used as part of the application area. In these cases the status pane can be easily hidden using following code:

if(StatusPane()->CurrentLayoutResId() != R_AVKON_STATUS_PANE_LAYOUT_EMPTY)

Note that when changing the status pane layout you should always check first if the status pane is already using the layout.

After calling this line the Application user interfaces ClientRect() method will return the area covering all other areas expect the command button area. To switch back to the normal status pane you can use the following code:

if(StatusPane()->CurrentLayoutResId() != R_AVKON_STATUS_PANE_LAYOUT_USUAL)

If you want to hide the status pane before launching the applications you can define the empty layout to be used as default by defining the default status pane in your resource file as follows:

This page was last modified on 23 July 2012, at 08:00.
69 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.