diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-1E87CA7A-9733-58A1-A747-F5F3DE9B64D7.dita --- a/Symbian3/SDK/Source/GUID-1E87CA7A-9733-58A1-A747-F5F3DE9B64D7.dita Wed Mar 31 11:11:55 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-1E87CA7A-9733-58A1-A747-F5F3DE9B64D7.dita Fri Jun 11 12:39:03 2010 +0100 @@ -1,38 +1,40 @@ - - - - - -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)

+ + + + + +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