EmbeddingShell provides an application shell, and a concrete control.
CGraphicExampleControl is a control class, derived from CCoeControl, which links the app shell to the concrete control.
The CPictureControl class, derived from CGraphicExampleControl, illustrates the drawing of pictures and how they can be stored to and restored from a direct file store.
Click on the following link to download the example: Embedding.zip
Download some additional files required by the example: CommonGraphicsExampleFilesClick: browse to view the example code.
View the additional files: browse.The source code for this example application can be found in the directory:
examples\Graphics\Embedding
This source code may be in the directory in which you installed the Symbian platform, or it may be in the src\common\developerlibrary\ directory. The directory includes the two project files needed for building the example: bld.inf and the .mmp file.
he Symbian build process describes how to build this application. For the emulator, an application called EmbeddingShell.exe is created in epoc32\release\winscw\<udeb or urel>\.
Launch the emulator:
epoc32\release\winscw\<urel or udeb>\EPOC.EXE.
Click on EMBEDDINGSHELL to run the application. If using the TechView emulator, this will be in the Extras menu.
Start the example by choosing Picture from the menu List of Programs.
Step through each phase of the example by pressing the space bar or by tapping on the window drawn by that example.
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.