equal
deleted
inserted
replaced
14 for touch events in the scrollbar.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
14 for touch events in the scrollbar.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
15 <p>For custom controls that override <codeph>CCoeControl::HandleScrollEventL()</codeph>, |
15 <p>For custom controls that override <codeph>CCoeControl::HandleScrollEventL()</codeph>, |
16 you must also call the base class implementation of the function.</p> |
16 you must also call the base class implementation of the function.</p> |
17 <fig id="GUID-ECD9B9C0-0134-4D8A-B350-A797A5C1BE0F"> |
17 <fig id="GUID-ECD9B9C0-0134-4D8A-B350-A797A5C1BE0F"> |
18 <title>Scrollbar</title> |
18 <title>Scrollbar</title> |
19 <image href="GUID-8C8D6B06-E794-4269-B4DF-D2BE4DDB9E8B_d0e70089_href.png" scale="40" placement="inline"/> |
19 <image href="GUID-8C8D6B06-E794-4269-B4DF-D2BE4DDB9E8B_d0e67941_href.png" scale="40" placement="inline"/> |
20 </fig> |
20 </fig> |
21 <p>For an implementation example, see below.</p> |
21 <p>For an implementation example, see below.</p> |
22 <codeblock xml:space="preserve">void CMyContainerControl::HandleScrollEventL( CEikScrollBar* aScrollBar, TEikScrollEvent aEventType ) |
22 <codeblock xml:space="preserve">void CMyContainerControl::HandleScrollEventL( CEikScrollBar* aScrollBar, TEikScrollEvent aEventType ) |
23 { |
23 { |
24 if( !aScrollBar ) |
24 if( !aScrollBar ) |