| ID | ... | Creation date | 14.10.2008 |
| Platform | S60 3rd Edition, S60 5th Edition | Tested on devices | Nokia E90 |
| Category | Symbian C++ | Subcategory | Touch UI, Non-Touch UI |
| Keywords (APIs, classes, methods, functions): CEikListBox, CEikScrollBarFrame, SetScrollBarVisibilityL(). |
This snippet shows how to hide/unhide scrollbars for Listbox using handle to CEikScrollBarFrame.
This snippet can be self-signed.
Here we assume that we already have a working code for listbox.
The following capabilities and libraries are required:
CAPABILITY None
LIBRARY eikcoctl.lib
Source:
#include <eiksbfrm.h>
//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.
No related wiki articles found