Hello All,
I want to change the background as well as foreground color of selected item in list box
I am doing as follows:
void Ctableview::ConstructL(const TRect& aRect)
{
CreateWindowL();
iItemList = new (ELeave) CAknDoubleLargeStyleListBox();
iItemList->SetContainerWindowL(*this);
iItemList->SetMopParent(this);
iItemList->ConstructL(this);//,EAknListBoxSelectionList);
iItemList->View()->SetBackColor(TRgb(0,0,0));
iItemList->View()->ItemDrawer()->SetBackColor(TRgb(0,0,0));
((CEikFormattedCellListBox*)iItemList)->ItemDrawer()->SetHighlightedBackColor(TRgb(200,140,20));//orange
TInt currentFocusItem = iItemList->View()->CurrentItemIndex();
//GetSelectedItem();
SetRect(aRect);
iItemList->MakeVisible(true);
ActivateL();
}

but nothing happen..
Kindly help me
Thank you.