Scroll: simple scrolling


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:

Click: browse to view the example code.

Running on the emulator

Clicking the left mouse button causes the line to scroll up, clicking the right mouse button causes it to scroll down.

Running on the target phone

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.