what is the purpose of a status pane?When to use it?

Login to reply to this topic.
Thu, 2008-03-20 09:51
Joined: 2007-05-15
Forum posts: 137

Hi,
I was going through apiece of code.

In that status pane is used in the EIK_APP_INFO structure.

I tried to implement the same in a test program to see output.

But when I run the code , only a blank screen appears. There are no buttons and nothing.
Then I wonder what is the purpose of using it. There must be some reason, but I cant guess.

The code is

RESOURCE EIK_APP_INFO
{
status_pane = r_VRex_status_pane;
}

//----------------------------------------------------
//
// r_VRex_status_pane
//
//----------------------------------------------------
//
RESOURCE STATUS_PANE_APP_MODEL r_VRex_status_pane
{
panes =
{
SPANE_PANE
{
id = EEikStatusPaneUidTitle;
type = EAknCtTitlePane;
resource = r_vrex_title_pane;
}
};
}

//----------------------------------------------------
//
// r_vrex_title_pane
//
//----------------------------------------------------
//
RESOURCE TITLE_PANE r_vrex_title_pane
{
txt = qtn_vrex_main_title;
}

But in the original code that I was studying..., later on 2 views are constructed..

Is the purpose of code to include a status pane is to have dynamic views at later part of the program???

If so, cant the views be created dynamically in any other direct method? What is the benefit using status panes.....

Thanks and Regards!
Sandeep Mohapatra.....

  • Login to reply to this topic.