diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-1E87CA7A-9733-58A1-A747-F5F3DE9B64D7-GENID-1-10-1-6-1-1-4-1-9-1-5-1.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-1E87CA7A-9733-58A1-A747-F5F3DE9B64D7-GENID-1-10-1-6-1-1-4-1-9-1-5-1.dita Tue Mar 30 11:56:28 2010 +0100 @@ -0,0 +1,38 @@ + + + + + +ControlFramework: +A UI application with a toolbar +
Description

This example program creates an application +that uses a single view. It implements the standard classes required by any +application using UI controls. That is, an application, a document, an application +UI and a view.

A view is a control (derived from CCoeControl) +that displays the application's data on the screen and handles user input. +The pointer and key input is handled by printing to the screen a description +of the key event, or the x,y coordinates of the pointer event.

The +application and document are implemented minimally. The application UI handles +commands by overriding the CEikAppUi::HandleCommandL() method. +In this example, commands are generated by the toolbar buttons, and are handled +by changing the formatting of the text. The text that is initially displayed +is read from a resource file.

+
Download

Click on the following link to download +the example: ControlFramework.zip

Click: browse to view the example code.

+
Class Summary

CEikApplication

CEikDocument

CEikAppUi

CCoeControl

+
Build

The Symbian +build process describes how to build an application.

The ControlFramework +example builds an executable called ControlFramework.exe in +the standard location (\epoc32\release\winscw\ <build_variant> for +CodeWarrior). Either launch the executable itself, or launch the emulator +and then select the ControlFramework application from the Emulator's extras +bar.

+
See also

Using +UI Control Framework (CONE)

+
\ No newline at end of file