Header Sep
Symbian OS Tips, Tricks & Code
My Rating Score
Login to rate page

September 2005
How to create a dialog window with window classes

[Back]

This example shows how you can use window classes to create your own window controls. These controls can have similar properties to ordinary dialogs. The advantage of using window classes is that you get full control of how and when it should be created and destroyed. Your dialog can lock the screen for as long as needed.

Download source code>>

You also have full freedom to make it look the way you want, as anything can be drawn. You can even decide how this dialog will respond to a key or pointer event. You can choose to enable moving it up and down on the screen (such default dialog move is implemented here).

The two implemented example dialogs below show how different layouts and components can be used.

 

To build the MyDirDraw example for a Sony Ericsson smartphone:

$ bldmake bldfiles
$ abld build thumb urel
$ makesis MyDirDraw.pkg

Example has also small program (supply.bat) that can call these commands for you. It will also start deploying .sis file on the phone.

You should edit it before first use to update paths, so they will reflect your folders.

 

 


 

 

My Rating Score
Login to rate page