Symbian3/SDK/Source/GUID-78453EBD-B4F3-4A78-AEAE-3D126DFED31F.dita
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 11 Jun 2010 12:39:03 +0100
changeset 8 ae94777fff8f
parent 7 51a74ef9ed63
permissions -rw-r--r--
Week 23 contribution of SDK documentation content. See release notes for details. Fixes bugs Bug 2714, Bug 462.

<?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-6-1-1-4-1-8-1-3-2">
<step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-6-1-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>