Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
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.