ok, try something like this (it is ripped of some application so maybe is something missing, but you should get the general idea)
Code:
//1, Specify the type (controller class) of the listbox:
iListBox = new (ELeave) CAknSingleStyleListBox();
//2, Create the listbox.
iListBox->SetContainerWindowL(*this);
iListBox->ConstructL(this, EAknListBoxSelectionList);
//3, Set the scolls
iListBox->CreateScrollBarFrameL(ETrue);
iListBox->ScrollBarFrame()->SetScrollBarVisibilityL(CEikScrollBarFrame::EOff, CEikScrollBarFrame::EAuto);
//3.5, Create list of icons
CArrayPtr<CGulIcon>* iconList = new (ELeave) CAknIconArray(10);
CleanupStack::PushL(iconList);
// Icons are referenced by their physical position in .mbm file
iconList->AppendL(iEikonEnv->CreateIconL(pApp->MbmPathL(), 11, 12));
iconList->AppendL(iEikonEnv->CreateIconL(pApp->MbmPathL(), 13, 14));
iconList->AppendL(iEikonEnv->CreateIconL(pApp->MbmPathL(), 15, 16));
iconList->AppendL(iEikonEnv->CreateIconL(pApp->MbmPathL(), 17, 18));
iconList->AppendL(iEikonEnv->CreateIconL(pApp->MbmPathL(), 19, 20));
CleanupStack::Pop();
// assign icon list to a listbox...
iListBox->ItemDrawer()->FormattedCellData()->SetIconArray(iconList);
//4, Fill the items: (listbox model)
CDesCArrayFlat* array = new (ELeave) CDesCArrayFlat(1);
array->AppendL(_L("0\tItem1"));
array->AppendL(_L("1\tItem2"));
array->AppendL(_L("2\tItem3"));
array->AppendL(_L("3\tItem4"));
iListBox->Model()->SetItemTextArray(array);
//5, Set the size
iListBox->SetRect(Rect());
//6, Set the key handling
iAvkonAppUi->AddToStackL(iListBox);
//7, Activate the listbox
iListBox->ActivateL();