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 07:38, 25 June 2008.

Using Skins in S60

From Forum Nokia Wiki

In S60, skins have a greater impact on applications than in UIQ. Skins are automatically applied to menus, note and query dialogs, the control and status panes, the fast swap window. Other UI components may support skins, depending on whether the application is skin-aware, and the control is skin-enabled.

To make an application skin aware call:

BaseConstructL(CAknAppUi::EAknEnableSkin);


in the app UI’s ConstructL().In a skin-aware application, skins are applied to all standard S60 controls, for instance search boxes, list boxes and grids. If BaseConstructL() is not called with this parameter, only the controls mentioned in the first paragraph are drawn using skins.

To draw non-standard, custom controls and container controls using skins, you need to use the skin-drawing utility class AknsDraw- Utils (the Akns prefix stands for Avkon Skins). Before you can do this, you first need to get the currently active skin by calling Akns- Utils::SkinInstance(), and non-container controls also need to call AknsDrawUtils::ControlContext() to get the skin control context.

Related Discussions
Thread Thread Starter Forum Replies Last Post
S60 Icon requirements vasilip General Symbian C++ 2 2006-01-21 13:51
creating collapsible and expandable container for s60 3rd edition passionateamit Symbian User Interface 2 2008-05-21 05:57
how to run .exe with symbian s60 phone amipatel Symbian Tools & SDKs 38 2008-06-27 13:09
Hotkey support in S60 3rd ed FP1 svdwal Symbian User Interface 0 2007-02-12 12:09
Importing S60 SDK into EclipseMe abiieez Mobile Java Tools & SDKs 3 2007-01-10 00:52
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX