hi all,
I am building a new application with listbox loading images from different mbm files. ie; each image in listbox item should be obtained from different mbm files. We tried loading image from two mbm files , but each time any one of the mbm files will be loaded. Is it practically possible??..If yes please guide us...The part where we tried doing this is pasted below.

CDesCArrayFlat* strings = new (ELeave) CDesCArrayFlat(8);
// Creates gul icon.
CArrayPtr<CGulIcon>* icons = new( ELeave ) CAknIconArray(5 );

icons->AppendL( iEikonEnv->CreateIconL((*strings)[1] ,0,1));
//CleanupStack::PushL( icons );
iListBox->ItemDrawer()->ColumnData()->SetIconArray( icons);
// CleanupStack::Pop(icons);
icons->AppendL( iEikonEnv->CreateIconL((*strings)[0] ,0,1));
//CleanupStack::PushL( icons );
iListBox->ItemDrawer()->ColumnData()->SetIconArray( icons );
icons = NULL;
delete icons;

Now we get only the first mbm file. We expect a speedy reply...

Thanks in advance ...