How to add Marquee effect in ListBox

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Code ExampleArticle
Created: User:Kanu123 (30 Jun 2007)
Last edited: hamishwillee (30 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);

Formatted cell listbox (for example CAknDoubleStyleListBox):

iListBox->ItemDrawer()->FormattedCellData()->SetMarqueeParams(3, 20, 1000000, 200000);

Full example (S60 3rd Edition): Wckbyqpb(MarqueeListbox).zip

Related Links:

This page was last modified on 30 May 2013, at 04:38.
69 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.