All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped
Prev Previous Post   Next Post Next

  #1  
Old 22-08-2006, 11:20 AM
meetee meetee is offline
Registered User
 
Join Date: Jul 2006
Posts: 7
meetee is on a distinguished road
Question Menu in dialog form

Hi..all

I m trying to create menu in dialog form..for that

in dialog.cpp

Quote:
void CformappDialog:: DynInitMenuPaneL(
TInt aResourceId,
CEikMenuPane* aMenuPane )
{
TInt pageId = ActivePageId();
TInt focusControlId = IdOfFocusControl();

if (aResourceId == R_AVKON_FORM_MENUPANE)
{
switch (pageId)
{
case EformappPageCtrlIdPagePhone1:
{
//Phone Menu
switch (focusControlId)
{
case EformappDlgCtrlIdPhone1:
{
//Menu for Phone-1 and Phone-2 numbers
aMenuPane->AddMenuItemsL(R_PHONE_MENU_PANE,0,1);

break;
}
}
}
}
}
else
{
CAknForm:: DynInitMenuPaneL(aResourceId, aMenuPane);
}

}



in .rss file

Quote:
RESOURCE MENU_PANE r_phone_menu_pane
{
items=
{
MENU_ITEM
{
command = EformappDone;
txt = "Done";
},
MENU_ITEM
{
command = EformappReset;
txt = "Reset";
}
};
}



i have changed buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK; in DIALOG resource. But as output I only find OPTIONS and no submenus!!

Kindly help!
Meetee

Last edited by meetee; 22-08-2006 at 12:34 PM.
 

Bookmarks

Tags
dialog, form, menu

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Skins, Side Schemes & Color Roman Nokia 9300 and 9500 571 22-09-2011 01:10 AM
Is it possible to incorporate new menu in existing default menu dtripathy S60 (Series 60) 0 08-06-2006 11:14 AM



All times are GMT. The time now is 01:44 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy