NlMakesis Y-Browser Y-Tasks
Hi,
Can Anybody tell me How to create submenu using RSS file.
Thanks in Advance...!!!
you can create sub menu using RSS file. Add this code in ur rss file. it will work.
Thanks & Regards Ram
Symbian OS 9.1,S60 3rd edition MR,and Carbide.C++
RESOURCE MENU_BAR r_Test_menubar { titles = { MENU_TITLE {menu_pane = r_Test_menu;} }; }
// --------------------------------------------------------- // // r_Test_menu // Menu for "Options" // // --------------------------------------------------------- // RESOURCE MENU_PANE r_Test_menu { items = { MENU_ITEM { txt = "Menu"; cascade = r_Test_sub_menu}, MENU_ITEM {command = ETestCommand1; txt = "Say Hey!";}, MENU_ITEM {command = EAknSoftkeyExit; txt = "Exit";} }; }
RESOURCE MENU_PANE r_Test_sub_menu { items = { MENU_ITEM { txt = "sub Menu 1";}, MENU_ITEM { txt = "sub Menu 2";}, MENU_ITEM { txt = "sub Menu 3";} }; }
Hi RB_Sahu thanks,
ravinder singh rawat
Forum posts: 136
Hi,
you can create sub menu using RSS file. Add this code in ur rss file. it will work.
Thanks & Regards
Ram
Symbian OS 9.1,S60 3rd edition MR,and Carbide.C++
Forum posts: 136
Hi,
you can create sub menu using RSS file. Add this code in ur rss file. it will work.
RESOURCE MENU_BAR r_Test_menubar
{
titles =
{
MENU_TITLE {menu_pane = r_Test_menu;}
};
}
// ---------------------------------------------------------
//
// r_Test_menu
// Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_Test_menu
{
items =
{
MENU_ITEM { txt = "Menu"; cascade = r_Test_sub_menu},
MENU_ITEM {command = ETestCommand1; txt = "Say Hey!";},
MENU_ITEM {command = EAknSoftkeyExit; txt = "Exit";}
};
}
RESOURCE MENU_PANE r_Test_sub_menu
{
items =
{
MENU_ITEM { txt = "sub Menu 1";},
MENU_ITEM { txt = "sub Menu 2";},
MENU_ITEM { txt = "sub Menu 3";}
};
}
Thanks & Regards
Ram
Symbian OS 9.1,S60 3rd edition MR,and Carbide.C++
Forum posts: 35
Hi RB_Sahu
thanks,
ravinder singh rawat