The Scroll example demonstrates simple scrolling using pointer repeat events. It uses RWindowBase::RequestPointerRepeatEvent(), which ensures that holding down the pointer (or either mouse button on the Emulator) results in a smooth scroll.
Click on the following link to download the example: Scroll.zip
Click: browse to view the example code.
Clicking the left mouse button causes the line to scroll up, clicking the right mouse button causes it to scroll down.
Tapping on the numbered window causes the line to scroll up. The behaviour invoked by the right mouse button click is unavailable on the target phone.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.