Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

CAknSingleHeadingStyleListBox的跑马灯效果无法实现

From Wiki
Jump to: navigation, search
Article Metadata

兼容于
平台: S60 3rd Edition FP1, S60 3rd Edition FP2
S60 3rd Edition FP2
S60 3rd Edition FP1

文章
翻译:
hoolee
最后由 hamishwillee 在 06 Aug 2012 编辑
  • 详细描述

当我们使用CAknSingleHeadingStyleListBox时,较长的头标题将无法实现跑马灯效果。

CAknSingleHeadingStyleListBox中很长的头标题是无法实现跑马灯效果的。跑马灯效果只能在第二栏文字中实现。此外,当头标题过长时,第二栏文字也可能不能正确工作。第一栏文字将显示最多能显示的字符,并附以三个点表示省略。

Marquee test.gif

  • 如何重演

生成一个CAknSingleHeadingStyleListBox类,然后在第一栏和第二栏赋以长值。调用CColumnListBoxData::EnableMarqueeL()允许滚动效果,然后查看它们。

  • 解决方案

暂无CAknSingleHeadingStyleListBox的解决方案,要避免输入过长的文字。

This page was last modified on 6 August 2012, at 06:32.
330 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.

×