Symbian3/SDK/Source/GUID-C11AF871-56C8-4EA4-A1E0-E2B23372EF84.dita
changeset 8 ae94777fff8f
parent 7 51a74ef9ed63
equal deleted inserted replaced
7:51a74ef9ed63 8:ae94777fff8f
    18 <p>On the whole, touch down and hold may be difficult for users to find, and
    18 <p>On the whole, touch down and hold may be difficult for users to find, and
    19 therefore its use should be considered carefully. As in the case of task swapping,
    19 therefore its use should be considered carefully. As in the case of task swapping,
    20 the use of touch down and hold should aim at being analogous to using a long
    20 the use of touch down and hold should aim at being analogous to using a long
    21 key press on the hardware keys.</p>
    21 key press on the hardware keys.</p>
    22 <section id="GUID-F3F82BBF-587D-471E-A2DE-E9248077EE0A"><title>Using
    22 <section id="GUID-F3F82BBF-587D-471E-A2DE-E9248077EE0A"><title>Using
    23 touch down and hold events in C++ applications</title><p>The API to use for
    23 touch down and hold events in applications</title><p>The API
    24 receiving touch down and hold events in applications or controls is the <xref href="GUID-92018B6B-3CBB-434D-9E61-F271C67E98E3.dita">Touch UI utilities API</xref>.</p><p>Use
    24 to use for receiving touch down and hold events in applications or controls
    25 the class <codeph>CAknLongTapDetector</codeph> to receive touch down and hold
    25 is the <xref href="GUID-92018B6B-3CBB-434D-9E61-F271C67E98E3.dita">Touch UI utilities
    26 events.</p><p>The long tap handler must inherit from the class <xref href="GUID-8ABC81C9-1D07-3D81-B744-BE5275ED61CA.dita"><apiname>MAknLongTapDetectorCallBack</apiname></xref> and
    26 API</xref>.</p><p>Use the class <codeph>CAknLongTapDetector</codeph> to receive
    27 implement the <xref href="GUID-8ABC81C9-1D07-3D81-B744-BE5275ED61CA.dita#GUID-8ABC81C9-1D07-3D81-B744-BE5275ED61CA/GUID-DF019AAA-475C-3C96-BB77-5CC167CF4C3C"><apiname>MAknLongTapDetectorCallBack::HandleLongTapEventL()</apiname></xref> callback
    27 touch down and hold events.</p><p>The long tap handler must inherit from the
       
    28 class <xref href="GUID-8ABC81C9-1D07-3D81-B744-BE5275ED61CA.dita"><apiname>MAknLongTapDetectorCallBack</apiname></xref> and implement the <xref href="GUID-8ABC81C9-1D07-3D81-B744-BE5275ED61CA.dita#GUID-8ABC81C9-1D07-3D81-B744-BE5275ED61CA/GUID-DF019AAA-475C-3C96-BB77-5CC167CF4C3C"><apiname>MAknLongTapDetectorCallBack::HandleLongTapEventL()</apiname></xref> callback
    28 function.</p></section>
    29 function.</p></section>
    29 </conbody></concept>
    30 </conbody></concept>