Symbian3/SDK/Source/GUID-5578DF32-65ED-47F9-8A10-7538206AC473.dita
changeset 7 51a74ef9ed63
equal deleted inserted replaced
6:43e37759235e 7:51a74ef9ed63
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-5578DF32-65ED-47F9-8A10-7538206AC473" xml:lang="en"><title>Resources</title><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    13 <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
       
    14 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>
       
    15 <p>The following example has both of these features:</p>
       
    16 <codeblock id="GUID-C38317BE-DFC8-415C-B076-E94136067554" xml:space="preserve">RESOURCE DIALOG r_dlgapp_main_dialog
       
    17     {
       
    18     flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar |
       
    19             EEikDialogFlagFillAppClientRect |
       
    20             EEikDialogFlagCbaButtons |
       
    21             EEikDialogFlagModeless;
       
    22     buttons = r_dlgapp_softkeys_options_home;
       
    23     pages = r_dlgapp_main_pages;
       
    24     }
       
    25 </codeblock>
       
    26 <p>The modality of the dialog is set to modeless with the <parmname>EEikDialogFlagModeless</parmname> flag.
       
    27 Further flags are set to fill the client rectangle, suppress the status pane,
       
    28 and use the <xref href="GUID-A4F3738C-CBFD-4151-9132-26FE05966715.dita">CBA</xref> buttons
       
    29 (softkeys).</p>
       
    30 </conbody></concept>