hi all,
im creating a dynamic submenu using following
void CMapView:ynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane )
{
if(aResourceId == R_SUB_MENU)
{
CEikMenuPaneItem::SData itemData;
for(int i=0; i < isubMenuArray.Count(); i++)
{
itemData.iText.Zero();
TInt error = CnvUtfConverter::ConvertToUnicodeFromUtf8(itemData.iText,isubMenuArray[i].sampleString);
itemData.iCommandId = ECommand;
itemData.iFlags = 0;
itemData.iCascadeId = 0;
aMenuPane->AddMenuItemL( itemData );
}
}
}
but when i click on menu i get the data with every letter appended by a box.
lets say if my sub menu array had sub1 n sub2 then the menu displays s0u0b01 what could be the problem.

ynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane )
Reply With Quote



