Hi, all.
I'm using CAknListQueryDialog. You can see the way I do that below. I know that RunLD delete dialog on dialog close. Does it mean that arraylist, on which dialog basised will be deleted to? If yes, how can I can item text that user had selected?
Code:CDesCArrayFlat *list = iStorage->GetList(); TInt choosedIndex; CAknListQueryDialog *dialog = new (ELeave) CAknListQueryDialog(&choosedIndex); dialog->PrepareLC(R_LISTBOX_QUERY_DIALOG); dialog->SetItemTextArray(list); dialog->RunLD(); // look like the list isn't valid pointer at this point. // list->Count() return trash like -14453;

Reply With Quote

