×
Namespaces

Variants
Actions

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

This page was last modified on 30 May 2013, at 07:38.
62 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.

×