Hi all,

I am trying to display icon in my columnlistbox in first column.
there are no errors but the first column is empty. Text is being shown correctly. Can anybody help me resolve this. It is very urgent.

void CMyView::ConstructL(TRect aRect)
{
iLine.Append ( _L("0\tKAUP\t10:00\t100\t20")) ;
iArray->AppendL(iLine);
iBox->SetItemTextArray(iArray);
AddListboxIconsL();
}

void CMyView::AddListboxIconsL()
{
CArrayPtr<CGulIcon>* iconArray = new( ELeave ) CAknIconArray( 1 );
CleanupStack::PushL( iconArray );

CFbsBitmap* ArrowUpIconMask = NULL;

CFbsBitmap* arrowUpIcon = AknIconUtils::CreateIconL(KAvkonBitmapFile,EMbmDreamboxsampleArrowup );

CGulIcon* ArrowUpListIcon = CGulIcon::NewL( arrowUpIcon, ArrowUpIconMask );
CleanupStack::Pop(1 ); // arrowUpIcon,
CleanupStack::PushL( ArrowUpListIcon );
iconArray->AppendL(ArrowUpListIcon );
// CleanupStack::Pop( 1 );

iColData=iBox->ItemDrawer()->ColumnData();
iColData->SetColumnWidthPixelL(0,40);
iColData->SetGraphicsColumnL(0,ETrue);
iColData->SetColumnAlignmentL( 0,CGraphicsContext::ECenter);
iColData->SetIconArray(aIcons) ; CleanupStack::Pop( 1 );
}
}

Thanks