Closing dialogs
| Mon, 2003-12-15 07:31 | |
|
Is it possible to close a dialog programmatically? I've tried calling OkToExitL and also PrepareForcedExitL. In both cases the OkToExitL method executes correctly and returns ETrue but the dialog doesn't close. When I click a button on the dialog it closes correctly.
Thanks, |
|






Forum posts: 21
Paul
Addicted to phones
Forum posts: 16
Forum posts: 363
Cheers,
Pawel
Forum posts: 53
CEikDialog::TryExitL(TInt aButtonId)
is the correct function to call.
you can specify the Id of the button (pratically it's like the user tapping the specified button)