Hi all
I try to start a simple application in the Series 60 device.
when I execute the App on the emulator I get a blank screen with the App name above ,
the problem : there is no "Options" or "Exit" menues !!!
only when I choose the relevant buttons below , the menues appear ....
please advise what should I change or add
(I really prefer not to use the CAknView )
Thanks a lot
**** HEADER ****
class CMyAppS60AppView: public CCoeControl // ...**** CPP ****
void CMyAppS60AppView::ConstructL(const TRect& aRect)
{
CreateWindowL();
SetRect(aRect);
ActivateL();
}
void CMyAppS60AppView:😃raw(const TRect& /*aRect*/) const
{
CWindowGc& gc = SystemGc();
gc.Clear();
}
**** RSS ****
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf=""; }
RESOURCE EIK_APP_INFO
{
menubar = r_myapp_menubar;
status_pane=R_AVKON_STATUS_PANE_LAYOUT_USUAL;
cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
RESOURCE MENU_BAR r_myapp_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_myapp_options_menu;
txt = "Options";
}
};
}
RESOURCE MENU_PANE r_myapp_options_menu
{
items=
{
MENU_ITEM
{
command = EMyAppCmdOption1;
txt = "Option 1";
},
MENU_ITEM
{
command = EMyAppCmdOption2;
txt = "Option 2";
},
MENU_ITEM
{
command = EEikCmdExit;
txt = "Exit";
}
};
}