Using a dialogs as the main view will usually require use of the entire available client rectangle. It will also often be a Multipage dialogs.
The following example has both of these features:
RESOURCE DIALOG r_dlgapp_main_dialog { flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons | EEikDialogFlagModeless; buttons = r_dlgapp_softkeys_options_home; pages = r_dlgapp_main_pages; }
The modality of the dialog is set to modeless with the EEikDialogFlagModeless
flag.
Further flags are set to fill the client rectangle, suppress the status pane,
and use the CBA buttons
(softkeys).