newlc.com
Articles Only
Forum Only
Community
World-Wide Web
Home
News
Tutorials
Reviews
Downloads
Professional Services
Forums
Newsletter
Blog
About us
Last forum posts
Home
::
Forums
::
Development
::
Symbian C++
User login
Username:
*
Password:
*
Create new account
Request new password
Featured pages
Configure your PC for Symbian development
Getting started with Symbian development
Symbian OS Error Codes
Common products UIDs
Nokia S60 SDK
Featured Software
NlMakesis
Y-Browser
Y-Tasks
Active users (last 30 days)
User
Score
RB_Sahu
91
lvsti
84
er.khalid
83
gmsk19
64
rbrunner
60
more
Feeds
More feeds...
Renaming menu item
Login
to reply to this topic.
Wed, 2004-12-01 23:19
anilga
Joined: 2004-11-24
Forum posts: 2
In my application I accept a name, and I need to rename an existing menu item with this name.please let me know how to do this.
Thanks
Anil
Login
or
register
to post in forums
Fri, 2004-12-03 00:40
dishneau
Joined: 2004-02-05
Forum posts: 176
Renaming menu item
You will need to override DynInitMenuPaneL in your AppUi class. DynInitMenuPaneL is called by the Symbian Framework before the menu pane is activated
Code:
void CYourAppUi::DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane)
{
if (R_YOUR_MENU == aMenuId)
{
_LIT(KChangedText,"NewMenuText");
aMenuPane->SetItemTextL(EYourMenuItemID,KChangedText);
}
}
Darin Dishneau
www.dishneau.com/symbian
 
Login
to reply to this topic.
Forum posts: 176
{
if (R_YOUR_MENU == aMenuId)
{
_LIT(KChangedText,"NewMenuText");
aMenuPane->SetItemTextL(EYourMenuItemID,KChangedText);
}
}
Darin Dishneau
www.dishneau.com/symbian