Dialogs API: API description

Dialogs API allows creating and using application-specific dialogs.

Dialogs use the dialog resource, defined in the application resource file (RSS). The runtime representations of dialogs are instances of the CEikDialog and CAknDialog classes, or any custom class deriving from the above. Derivation is used to add custom functionality, controls or behavior to standard dialogs.

Use cases

  1. Defining the resource
  2. Creating and launching dialog
  3. Accessing control in dialog
  4. Implementing custom dialog

API class structure

Many methods of CEikDialog can be overridden to provide custom behavior. If standard behavior and built-in components are sufficient, CEikDialog or CAknDialog can be used directly.

CAknDialog adds Options menu handling to CEikDialog.

Figure 2: Dialogs API


Copyright © Nokia Corporation 2001-2008
Back to top