Dialogs

Figure: Time dialog in the Clock application

Dialogs are UI elements used by GUI applications. For typical dialog uses, the S60 platform provides a large collection of ready-made dialog classes. Dialogs generally require resource definitions when they are used in your code. The dialog shown below consists of a label and an editor. A dialog generally has an OK button and a Cancel button.

Dialogs are objects of the CAknDialog (AknDialog.h) class; many other controls use dialog base classes and therefore are used in a similar manner.

A dialog is generally defined in resources and can then be used as required within application code as illustrated in Constructing and displaying a dialog.

For more information, see Using Dialogs API.