Hi,
I'd like to change menu pane text color & background color. I'm able to change the color of many things but still I have some problems. Here is a screenshot of how my menupane looks.
http://img142.imageshack.us/my.php?i...pupmenunp2.jpg
I'm able to change the highlight color(green in the scren shot), menubar background color(blue in the screen shot), and text color for softkeys(when there is no pop up menu, not shown in the screenshot)
And as suggested in following threads, I tried to use OverrideColorL but it only changes the shadow of the menu pane(grey area in the screenshot)
http://discussion.forum.nokia.com/fo...ad.php?t=82297
http://discussion.forum.nokia.com/fo...ad.php?t=71747
http://discussion.forum.nokia.com/fo...d.php?t=113239
I also tried setting CCoeBrushAndPenContext but it had no effect.Code:void CMyVew::DynInitMenuPaneL(TInt aResourceId, CEikMenuPane *aMenuPane) { aMenuPane->OverrideColorL(EColorMenuPaneBackground, KRgbGrey); aMenuPane->SetRect(aMenuPane->Rect()); aMenuPane->HandleResourceChange(KEikColorResourceChange); }
Does anyone how to do this, or is this possible at all?Code:void CMyVew::DynInitMenuPaneL(TInt aResourceId, CEikMenuPane *aMenuPane) { CCoeBrushAndPenContext* brushAndPenContext = CCoeBrushAndPenContext::NewL(); CleanupStack::PushL(brushAndPenContext); brushAndPenContext->SetBrushColor(KRgbGray); brushAndPenContext->SetPenColor(KRgbGray); aMenuPane->SetControlContext(brushAndPenContext); aMenuPane->SetRect(aMenuPane->Rect()); aMenuPane->HandleResourceChange(KEikColorResourceChange); CleanupStack::PopAndDestroy(); }



