Symbian3/SDK/Source/GUID-78453EBD-B4F3-4A78-AEAE-3D126DFED31F.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 task
       
    11   PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
       
    12 <task id="GUID-78453EBD-B4F3-4A78-AEAE-3D126DFED31F" xml:lang="en"><title>Disabling
       
    13 stylus popup menus in AVKON lists</title><shortdesc>This document describes how to disable stylus popup menus in AVKON
       
    14 lists.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
       
    15 <context id="GUID-6A438073-304B-485A-8B5B-2B6A3578B74B">       <p>In some
       
    16 views, stylus popup menus must not be displayed with a long tap. For example,
       
    17 when a view has both a stylus popup menu and a context sensitive menu with
       
    18 the same commands.</p><p>If the context sensitive menu is required to remain,
       
    19 the stylus popup menu must be disabled. This way the item-specific commands
       
    20 are available only in the context sensitive menu, which is launched with both
       
    21 single and long tap.</p>     </context>
       
    22 <steps-unordered id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-4-1-1-7-1-4-1-8-1-3-2">
       
    23 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-4-1-1-7-1-4-1-8-1-3-2-1"><cmd>You can disable
       
    24 the stylus popup menu in either of the following ways:</cmd>
       
    25 <choices>
       
    26 <choice><p>Dynamically during construction.</p><codeblock xml:space="preserve">iListBox-&gt;ConstructL(this, EAknListBoxItemSpecificMenuDisabled);
       
    27 </codeblock></choice>
       
    28 <choice><p>In the list box resource</p><codeblock xml:space="preserve">LISTBOX
       
    29 {
       
    30   flags = EAknListBoxItemSpecificMenuDisabled;
       
    31   height = 3;
       
    32   width = 3;
       
    33 };
       
    34 </codeblock></choice>
       
    35 </choices>
       
    36 </step>
       
    37 </steps-unordered>
       
    38 </taskbody></task>