I'm using S60 2nd Edition FP3 and I want to replace the current navigation pane with a small text label and two scroll buttons (just like the one in the calendar). I'm using the following code (I've removed all CleanupStack directives for readability):
But unfortunately, no scroll buttons are displayed, only the label is displayed correctly. Maybe it's just trivial but I can't see any reason for this?
CAknNavigationControlContainer* naviPane = (CAknNavigationControlContainer*) StatusPane()->ControlL(TUid::Uid(EEikStatusPaneUidNavi));
CAknNavigationDecorator* deco = naviPane->CreateNavigationLabelL(KTest());