Hiding Status panel
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: