Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 09:50, 28 March 2008.

Form UI组件的皮肤支持

From Forum Nokia Wiki

  • 开发伙伴平台:

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

S60 3rd Edition


  • 详细描述

如果一个运行在S60第二版FP3或S60第三版手机上的程序使用form(CAknForm),必须要指明对皮肤的支持。否则这个form将无法被正确绘制。我们需要在这个程序UI类(从CAknAppUi中继承)的ConstructL()方法中传递EAknEnableSkin参数到基类的构造函数中。

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


注意form这个表单布局显示的问题不会出现在S60第二版FP3的模拟器中。


  • 如何重演

比较SDK示例中使用CAknForm类的示例(如Popuofield示例)中,开启和关闭EAknEnableSkin语句时,在手机上运行效果的不同。

Related Discussions
Thread Thread Starter Forum Replies Last Post
work with forms data at form run time palple Python 1 2008-04-03 04:32
请教下 关于form sol0neu Symbian 15 2008-01-24 06:50
Form save_hook spaceman76 Python 1 2006-03-10 09:33
ComboBox in my FORM donDonald Symbian User Interface 1 2006-11-06 03:27
Listbox & Form tukaram General Symbian C++ 1 2005-06-28 05:24
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX