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.

Form UI component要支持皮肤

From Wiki
Jump to: navigation, search
Article Metadata

兼容于
平台:
Symbian

文章
huwell 在 27 Jun 2007 创建
最后由 hamishwillee 在 07 May 2013 编辑
  • 设备, 软件 版本:

S60 2nd Edition, FP3, Nokia N70, Nokia N90 S60 3rd Edition


  • 说明:

在S60第二版,FP3设备上使用CAknForm UI component时,如果程序不支持皮肤,则该控件将无法正确绘制。


  • 详细描述:

如果一个运行在S60第二版,FP3设备上的程序,使用了form(CAknForm),那它必须要支持皮肤,否则程序将无法绘制该表单。 我们在程序UI类(从CAknAppUi中继承)的构造函数ConstructL()中通过传递EAknEnableSkin参数来让程序支持皮肤功能。

void CMyAppUi::ConstructL()
{
BaseConstructL(EAknEnableSkin);
...
}

这个form布局的问题在S60第二版FP3模拟器上不会出现。


  • 情景重现:

比较一下设置及不设置EAknEnableSkin情况下我们使用CAknForm的情况。 这个我们可以通过使用CAknForm类的SDK示例程序(如Form, Popupfield example)来具体。

This page was last modified on 7 May 2013, at 23:56.
184 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.

×