How to hide ScrollBar in ListBox
This snippet shows how to hide/unhide scrollbars for a CEikListBox using a handle to CEikScrollBarFrame.
S60 5th Edition
S60 3rd Edition FP2
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Here we assume that we already have a working code for listbox.
The following capabilities and libraries are required:
//sets both horizontal and the vertical scroll bars to invisible.
iListBox->ScrollBarFrame()->SetScrollBarVisibilityL( CEikScrollBarFrame::EOff, CEikScrollBarFrame::EOff);
Both horizontal and vertical Scroll Bar Frames are invisible.