Symbian3/SDK/Source/GUID-48482288-B60B-477A-8E28-132F7CBE2C94.dita
changeset 7 51a74ef9ed63
child 8 ae94777fff8f
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-48482288-B60B-477A-8E28-132F7CBE2C94" xml:lang="en"><title>Confirmation
       
    13 query</title><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    14 <p>A confirmation query requests the user to confirm an operation, or asks
       
    15 a Yes-No-type of question. It can be used e.g. to make sure that the user
       
    16 does not accidentally delete important information or start an operation which
       
    17 cannot be cancelled.</p>
       
    18 <p>The layout for a Confirmation query is the same as the note layout, with
       
    19 an optional graphic item.</p>
       
    20 <p>One or two softkey labels can be used. In case the query can cause two
       
    21 different consequences, the positive choice (<b>Yes</b>) is placed on the
       
    22 left softkey, and the negative one (<b>No</b>) on the right softkey. In pure
       
    23 confirmations, only one way to proceed is possible, and the response text
       
    24 (for example <b>OK</b>) is placed on the left softkey.</p>
       
    25 <p>The Selection key always causes the same action as the left softkey.</p>
       
    26 <fig id="GUID-F5C18BD7-D656-4769-B841-C636628E9B1C">
       
    27 <title>Confirmation query</title>
       
    28 <image href="GUID-0DEC4D1B-2CD6-49BC-92E4-F0CB0BCBFA9D_d0e68726_href.jpg" scale="40" placement="inline"/>
       
    29 </fig>
       
    30 <p>Guidelines for designing Confirmation queries:</p>
       
    31 <ul>
       
    32 <li><p>When designing the prompt text, make sure that the positive answer
       
    33 is also a safe one. Users tend to proceed pressing the left softkey or the
       
    34 Selection key without thinking too much. </p></li>
       
    35 <li><p>Redundant Confirmation queries should be avoided. Do not add a Confirmation
       
    36 query if there already are other forms of feedback, unless it is crucial that
       
    37 the user gets a certain piece of information.</p></li>
       
    38 </ul>
       
    39 <section><title>Using confirmation queries
       
    40 in C++ applications</title><p>For implementation information, see <xref href="GUID-7B275129-5EF7-4B27-B603-3BDE2C650A93.dita">Queries</xref>.</p></section>
       
    41 </conbody></concept>