Scroll: simple scrolling

Description

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.

Download

Click on the following link to download the example: Scroll.zip

Click: browse to view the example code.

Class Summary

RWindowHandle

RWindowTreeNode

RWindowBase

RWindowGroup

CWindowGc

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.