Hi

Platform: Symbian Series 60

I inserted a double list control with numbers into a dialog resource. How can I associate an object with this control in my dialog? How can I add items to this list from code?

Dialog declaration in resources:
RESOURCE DIALOG r_highscores_dialog
{
flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons |
EEikDialogFlagNoTitleBar | EAknDialogMarkableList;
buttons = R_AVKON_SOFTKEYS_OK_BACK;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtDoubleNumberListBox;
id = ESelectionListControl;
control = LISTBOX
{
flags = EAknListBoxMarkableList;
};
}
};
}

Thanks in advance
Steve