×
Namespaces

Variants
Actions

How to hide ScrollBar in ListBox

From Nokia Developer Wiki
Jump to: navigation, search

This snippet shows how to hide/unhide scrollbars for a CEikListBox using a handle to CEikScrollBarFrame.

Article Metadata
Tested with
Devices(s): Nokia E90
CompatibilityPlatform Security
Signing Required: Self-Signed
Capabilities: None
Article
Keywords: CEikListBox, CEikScrollBarFrame, SetScrollBarVisibilityL().
Created: vasant21 (14 Oct 2008)
Last edited: hamishwillee (30 May 2013)

Preconditions

Here we assume that we already have a working code for listbox.


MMP file

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);


Postconditions

Both horizontal and vertical Scroll Bar Frames are invisible.

This page was last modified on 30 May 2013, at 07:38.
45 page views in the last 30 days.
×