Note: This example only works properly with Techview and there is no guarantee that it will work with other interfaces.
CustomControls demonstrates customised simple and compound UI Control Framework control classes. Compound controls are used as on-screen containers for other controls, either simple or compound. The custom controls are subclasses of the class CCoeControl , with implementations of its virtual functions for construction, drawing, and accepting user input.
Note that the CustomControls example has dependencies on GUI components that may not be present on all SDKs.
Click on the following link to download the example: CustomControls.zip
Click: browse to view the example code.
When the application starts, it displays two smiling faces (smiley) controls. The mood of the smileys can be changed by selecting a smiley using the left/right keys or pointer, and pressing space/clicking. A dialog containing the smiley controls can be started from the application’s menu.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.