Hello,
I am working on the List Dialog. The list appears correct but I want to display a label before this list. I have defined the label in .rss file. but it does not appear on the phone. The dialog displays only the list.
I am developing using S60 on Nokia 6680.
Please refer to the following code:
[CODE]
RESOURCE DIALOG r_list_dlg
{
flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons |
EEikDialogFlagNoBackup;
buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
items =
{
DLG_LINE
{
id=ElistDlg1Label;
type=EEikCtLabel;
control= LABEL
{
txt = "List Dialog";
vert_align=EEikLabelAlignVCenter;
};
},
DLG_LINE
{
prompt="";
id = EGeneralQuery;
type = EAknCtSingleListBox;
itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
control = LISTBOX
{
flags = EAknListBoxMarkableList;
};
}
};
}
[/CODE]
Thanks!
Tejaswini
