Series80 : Creating application without menubar

Login to reply to this topic.
Thu, 2005-09-15 09:00
Joined: 2005-02-22
Forum posts: 12
Hello!

My application UI design does not contain any menubars (full screen views etc).

How can I disable the menubar from showing up on "menu" key or how can I create the application without the specified menu?

I used the following code in my rss file:

Code:
NAME GRID

#include <eikon.rh>
#include <uikon.rh>
#include <eikcore.rsg>
#include <eikctl.rsg>
#include "MyApplication.hrh"
#include <indicato.rsg>

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf=""; }

RESOURCE EIK_APP_INFO
{
hotkeys = r_hotkeys;
menubar = r_empty_menubar;
status_pane = r_status_pane_empty;
}

RESOURCE HOTKEYS r_hotkeys
{
control=
{
  HOTKEY { command=EEikCmdExit; key='e'; }
};
}

RESOURCE MENU_BAR r_empty_menubar
{
titles={};
}

RESOURCE STATUS_PANE_APP_MODEL r_status_pane_empty
{
layout = R_AVKON_STATUS_PANE_LAYOUT_EMPTY;
}

But when I start the application I get "Cannot find the specified object" and it stops here.

Can anybody give me a clue?

Thanks!


Mon, 2005-09-19 19:30
Joined: 2004-07-01
Forum posts: 13
Re: Series80 : Creating application without menubar
Hi!

You can't use this resource in Series80:
R_AVKON_STATUS_PANE_LAYOUT_EMPTY - No direct mapping

Try this code in your rss file:
RESOURCE EIK_APP_INFO
{
menubar =r_my_menubar;
cba = r_cba_options_next;  // if u need CBA
}

or simply this:

RESOURCE EIK_APP_INFO
{
}

Regards,
RadeaR
  • Login to reply to this topic.