You Are Here:

Community: Wiki

This page was last modified on 27 June 2007, at 06:37.

Form UI component要支持皮肤

From Forum Nokia Wiki

  • 设备, 软件 版本:

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)来具体。

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fInstallingE5fJavaE5fappsE5fandE5fWE52TE5fwidgetsE5fusingE5fsisE5ffilesX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZseriesE5f60Q qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qfnZuserE5ftagQSxs60X qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ