equal
deleted
inserted
replaced
|
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 --> <!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></keywords></metadata></prolog><conbody> |
|
10 <p>Using a dialog as the main view |
|
11 will usually require use of the entire available client rectangle. It will |
|
12 also often be a multipage dialog.</p> |
|
13 <p>The following example has both of these features:</p> |
|
14 <codeblock xml:space="preserve" id="GUID-C38317BE-DFC8-415C-B076-E94136067554">RESOURCE DIALOG r_dlgapp_main_dialog |
|
15 { |
|
16 flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | |
|
17 EEikDialogFlagFillAppClientRect | |
|
18 EEikDialogFlagCbaButtons | |
|
19 EEikDialogFlagModeless; |
|
20 buttons = r_dlgapp_softkeys_options_home; |
|
21 pages = r_dlgapp_main_pages; |
|
22 } |
|
23 </codeblock> |
|
24 <p>The modality of the dialog is set to modeless with the EEikDialogFlagModeless flag. |
|
25 Further flags are set to fill the client rectangle, suppress the status pane, |
|
26 and use the <xref href="GUID-A4F3738C-CBFD-4151-9132-26FE05966715.dita">CBA</xref> buttons |
|
27 (softkeys).</p> |
|
28 </conbody></concept> |