I'm writing a traditional type of Symbian 6.0 GUI. I'm trying to dynamically changing the Option menu bar.
According to the document, I implement a DynInitMenuBarL function in myAppUI class. The function is called everytime when I press the left soft key. The problem is I don't know what to do in DynInitMenuBarL to change the menu bar.
I call ChangeMenuBarL with a new menu bar resouce ID, but nothing changes, I always get the old menu bar. I call ConstructFromResourceL with a new resouce reader, the new menu bar appears, but on top of the old one. The old one is still there.
Can anyone tell me how to do it? The SDK document does not cover this.