My application loads data with a unique index from a database and displays it in a listbox (CAknDoubleStyle2ListBox).
Then I want to get the unique index (which must not be visible in the listbox) of the listbox's selected item. Generally I could do a mapping of the listbox index to the database unique index. But the problem is, that the ordering and the number of elements of the listbox can change after the data has been loaded from the database (e.g. due to an filtering operation). So, is it somehow possible to store hidden data with each listbox item?