Symbian3/SDK/Source/GUID-E9191C31-4D09-4C95-85E4-4282ADEE1D82.dita
changeset 13 48780e181b38
parent 8 ae94777fff8f
equal deleted inserted replaced
12:80ef3a206772 13:48780e181b38
    31 <p>The following figure illustrates changes in the code. Items marked with
    31 <p>The following figure illustrates changes in the code. Items marked with
    32 a black frame indicate usage of features in earlier editions, and items marked
    32 a black frame indicate usage of features in earlier editions, and items marked
    33 with a red frame are new features.</p>
    33 with a red frame are new features.</p>
    34 <fig id="GUID-A8FE0B16-FCA8-48FB-BAE8-EE141CED39C0">
    34 <fig id="GUID-A8FE0B16-FCA8-48FB-BAE8-EE141CED39C0">
    35 <title><parmname>CCoeControl::HandlePointerEventL()</parmname> usage</title>
    35 <title><parmname>CCoeControl::HandlePointerEventL()</parmname> usage</title>
    36 <image href="GUID-52783B69-09FC-4123-849A-79FF61406129_d0e38122_href.png" placement="inline"/>
    36 <image href="GUID-52783B69-09FC-4123-849A-79FF61406129_d0e38290_href.png" placement="inline"/>
    37 </fig>
    37 </fig>
    38 <p>To handle pointer events in your custom control:</p>
    38 <p>To handle pointer events in your custom control:</p>
    39 <ol>
    39 <ol>
    40 <li id="GUID-CFB37EC0-E28A-4E28-9D7E-FEE90F21C1E5"><itemgroup><p>In your custom
    40 <li id="GUID-CFB37EC0-E28A-4E28-9D7E-FEE90F21C1E5"><itemgroup><p>In your custom
    41 control header file, include the <parmname>CCoeControl::HandlePointerEventL()</parmname> method.</p><codeblock xml:space="preserve">    public: // from CCoeControl
    41 control header file, include the <parmname>CCoeControl::HandlePointerEventL()</parmname> method.</p><codeblock xml:space="preserve">    public: // from CCoeControl
   119 <li><p>Optional <parmname>TPointerEvent::EDrag()</parmname> for receiving
   119 <li><p>Optional <parmname>TPointerEvent::EDrag()</parmname> for receiving
   120 events indicating that a mobile device user is dragging it across the screen.</p><p>For
   120 events indicating that a mobile device user is dragging it across the screen.</p><p>For
   121 more information on this and other touch event options, see <xref href="GUID-33D93E96-98A9-4116-9028-3241D76A1036.dita">Enabling additional touch events for your application</xref>.</p></li>
   121 more information on this and other touch event options, see <xref href="GUID-33D93E96-98A9-4116-9028-3241D76A1036.dita">Enabling additional touch events for your application</xref>.</p></li>
   122 <li><p>Optional <parmname>MTouchFeedback</parmname> observer for sending a
   122 <li><p>Optional <parmname>MTouchFeedback</parmname> observer for sending a
   123 vibration when a mobile device user touches a control with the feedback interface.</p><p>For
   123 vibration when a mobile device user touches a control with the feedback interface.</p><p>For
   124 more information on tactile feedback, see <xref href="GUID-581A8E4B-12BE-41C0-A20E-3087A80FEECF.dita">Tactile
   124 more information on tactile feedback, see <xref href="GUID-581A8E4B-12BE-41C0-A20E-3087A80FEECF.dita">Tactile feedback</xref>.</p></li>
   125 feedback</xref>.</p></li>
       
   126 </ul></itemgroup></li>
   125 </ul></itemgroup></li>
   127 </ul>
   126 </ul>
   128 </conbody><related-links>
   127 </conbody><related-links>
   129 <linklist><title>Related information</title>
   128 <linklist><title>Related information</title>
   130 <link href="GUID-33D93E96-98A9-4116-9028-3241D76A1036.dita"><linktext>Enabling
   129 <link href="GUID-33D93E96-98A9-4116-9028-3241D76A1036.dita"><linktext>Enabling