How to add Marquee effect in ListBox
Article Metadata
Code Example
Source file: Media:Wckbyqpb(MarqueeListbox).zip
Article
Created: User:Kanu123
(30 Jun 2007)
Last edited: hamishwillee
(08 May 2013)
To enable marquee with the animated effect (auto-scrolling forward and backward on the focused item) in the ListBox, you need to add the following code.
Column cell listbox (for example CAknSingleStyleListBox):
iListBox->ItemDrawer()->ColumnData()->SetMarqueeParams (3, 20, 1000000, 200000);
iListBox->ItemDrawer()->ColumnData()->EnableMarqueeL(ETrue);
Formatted cell listbox (for example CAknDoubleStyleListBox):
iListBox->ItemDrawer()->FormattedCellData()->SetMarqueeParams(3, 20, 1000000, 200000);
iListBox->ItemDrawer()->FormattedCellData()->EnableMarqueeL(ETrue);
Full example (S60 3rd Edition): Wckbyqpb(MarqueeListbox).zip
Related Links:


(no comments yet)