i basically want to create a listbox that uses the smallest font available (iEikonEnv->DenseFont()) and occupies the full screen (except for a small CAknSearchField at the bottom) so that i can get as many rows as possible on the screen. it seems like there are many functions to help with this, but they aren't working.
there are 3 things i want to do:
i am able to use the small font, but the listbox items are still the same height as before (so i cannont cram any more rows into the space that i available, even though each item has a large margin above and below it, since the font is much smaller), even after i use CAknSingleStyleListBox::SetItemHeightL() or CListBoxView::SetItemHeight().
Is there something else i need to do?
The second thing is that i want the listbox to cover the entire screen, so that it covers up the title pane, how can i do that?
iListBox->SetExtentToWholeScreen() didn't work for me. my app is in the standard view arhitecture (app, document, appui, and 1 container with my listbox and search field as the only 2 component controls within that container).
i would like to make the CAknSearchField as small as possible, currently it takes up too much room. do i just derive from that class and reimplement the Draw() function??
thanks in advance for your help.