Symbian3/SDK/Source/GUID-78453EBD-B4F3-4A78-AEAE-3D126DFED31F.dita
changeset 7 51a74ef9ed63
child 8 ae94777fff8f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Symbian3/SDK/Source/GUID-78453EBD-B4F3-4A78-AEAE-3D126DFED31F.dita	Wed Mar 31 11:11:55 2010 +0100
@@ -0,0 +1,38 @@
+<?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 task
+  PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
+<task id="GUID-78453EBD-B4F3-4A78-AEAE-3D126DFED31F" xml:lang="en"><title>Disabling
+stylus popup menus in AVKON lists</title><shortdesc>This document describes how to disable stylus popup menus in AVKON
+lists.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody>
+<context id="GUID-6A438073-304B-485A-8B5B-2B6A3578B74B">       <p>In some
+views, stylus popup menus must not be displayed with a long tap. For example,
+when a view has both a stylus popup menu and a context sensitive menu with
+the same commands.</p><p>If the context sensitive menu is required to remain,
+the stylus popup menu must be disabled. This way the item-specific commands
+are available only in the context sensitive menu, which is launched with both
+single and long tap.</p>     </context>
+<steps-unordered id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-4-1-1-7-1-4-1-8-1-3-2">
+<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
+the stylus popup menu in either of the following ways:</cmd>
+<choices>
+<choice><p>Dynamically during construction.</p><codeblock xml:space="preserve">iListBox-&gt;ConstructL(this, EAknListBoxItemSpecificMenuDisabled);
+</codeblock></choice>
+<choice><p>In the list box resource</p><codeblock xml:space="preserve">LISTBOX
+{
+  flags = EAknListBoxItemSpecificMenuDisabled;
+  height = 3;
+  width = 3;
+};
+</codeblock></choice>
+</choices>
+</step>
+</steps-unordered>
+</taskbody></task>
\ No newline at end of file