listbox filtered by CAknSearchField
| Fri, 2005-04-08 15:19 | |
|
How can I learn the item actually selected in a filtered listbox (when the selection is really filtered after the user has entered some letters)? CurrentItemIndex() returns the item index inside the filtered list (eg. zero for the first item) but this tells me nothing about the index of this item in the original list. Thanks, Gábor Bye, |
|






Forum posts: 112
CAknFilteredTextListBoxModel* Model = STATIC_CAST (CAknFilteredTextListBoxModel*, ListBox->Model ());
CurrentItem = Model->Filter()->FilteredItemIndex (CurrentItem);
Bye,
Gábor
Forum posts: 173
http://sandy.t35.com
Forum posts: 112
Bye,
Gábor
Bye,
Gábor
Forum posts: 1