i have created a dialog. and added the items to that dialog using resource.
i have a problem when adding list box to the dialog.
Added the list box type EAknCtSingleListBox control LISTBOX, flags attribute is set to EAknListBoxSelectionList and assigned an array id which is created in resource.
when i am build and run on the emulator. The list box of the dialog is not showing the content which are added by using array id.
DLG_LINE
{
type = EAknCtSingleListBox; //EAknCtSettingListBox;
id = EDVTTestHarnessAppScannersList;
control = LISTBOX
{
flags = EAknListBoxSelectionList;
array_id = r_mylistbox_items;
};
}
RESOURCE ARRAY r_mylistbox_items
{
items =
{
LBUF { txt = "Item1"; },
LBUF { txt = "Item2"; },
LBUF { txt = "Item3"; }
};
}
can anybody give the solution above my problem.



