<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License
"Eclipse Public License v1.0" which accompanies this distribution,
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
Nokia Corporation - initial contribution.
Contributors:
-->
<!DOCTYPE concept
PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="GUID-5578DF32-65ED-47F9-8A10-7538206AC473" xml:lang="en"><title>Resources</title><prolog><metadata><keywords/></metadata></prolog><conbody>
<p>Using a <xref format="html" href="specs/guides/Dialogs_API_Specification/Dialogs_API_Specification.html" scope="peer">dialogs</xref> as the main view will usually require use of the
entire available client rectangle. It will also often be a <xref format="html" href="specs/guides/Dialogs_API_Specification/Dialogs_API_Specification.html#Dialogs_API_Specification.topic3.1.5" scope="peer">Multipage dialogs</xref>.</p>
<p>The following example has both of these features:</p>
<codeblock id="GUID-C38317BE-DFC8-415C-B076-E94136067554" xml:space="preserve">RESOURCE DIALOG r_dlgapp_main_dialog
{
flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar |
EEikDialogFlagFillAppClientRect |
EEikDialogFlagCbaButtons |
EEikDialogFlagModeless;
buttons = r_dlgapp_softkeys_options_home;
pages = r_dlgapp_main_pages;
}
</codeblock>
<p>The modality of the dialog is set to modeless with the <parmname>EEikDialogFlagModeless</parmname> flag.
Further flags are set to fill the client rectangle, suppress the status pane,
and use the <xref href="GUID-A4F3738C-CBFD-4151-9132-26FE05966715.dita">CBA</xref> buttons
(softkeys).</p>
</conbody></concept>