i am new to the smybian development. i have created the selection list box on the dialog box using resource file.
Now i want to get that selection list box, update the list items before it is displaying. After displayed it, the user is going to select one item and return back. now i want that index or value in source code.
here below i created the resource file for list box on dialog.
i don't have any class.
RESOURCE DIALOG r_sampapp_list_dialog
{
flags = EAknDialogSelectionList | EEikDialogFlagWait;
buttons = R_AVKON_SOFTKEYS_SELECT_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtSingleListBox;
id = ESampAppList;
control = LISTBOX
{
flags = EAknListBoxSelectionList;
};
}
};
}
how we can dynamically updated the list items and getting the selected item?
please any body give the any sample code related to list box on dialog box.




