Have you defined correct menubar in your EIK_APP_INFO struct. The struct can be found from the top of your RSS file. And be sure you define a menubar there, not a menu pane.
menubar = r_example_menubar;
and
cba= R_AVKON_SOFTKEYS_OPTIONS_EXIT;
the most interesting thing is, is you let your program print a message when you press the options_softkey it works, but also without menu. i don'T know what i've done wrong.
could it be that the applivation and view classes must be derived from CAknApplication ? or from CEikApplication.
or do i have to include some fun´ction to display the menu?
Basically if you have CAknView derived view class, then you should always have CAknViewAppUi derived appui-class, the application & document classes can be same as they are with the system without the CAknView derived classes.
Could you also check that you are calling the BaseConstructL() in AppUi classes constructor, and that you are activating all of your containers.
In case they dont still work, just check what's really different with the helloworld example and try making those changes to find your error.
Thanks.
Now it works but i had to copy the whole helloworldstuff into my new project. whats a project template good for if the simplest things like a menu doesn't work?
so thanks a lot