Symbian Developer Library

SYMBIAN OS V6.1 EXAMPLE CODE

[Index] [Previous] [Next]



Ordinal: ordinal position, drag and drop

Found in: epoc32ex\Graphics\WS\Ordinal\


Description

Ordinal uses five numbered, draggable windows, similar to the draggable window used in the previous example to demonstrate the ordinal positioning of windows.

[Top]


Running under WINS

Clicking in a window with the left mouse button brings that window to the front by giving it an ordinal position of 0. Dragging with the left mouse button moves the windows around on the screen.

Clicking in a window with the right mouse button cascades the children of that window in the top left corner (using RWindowTreeNode::Child(), NextSibling() and PrevSibling()). The windows are cascaded according to their ordinal position in the top window's list of siblings.

[Top]


Running under ARM

Note that the behaviour invoked by the right mouse button click is unavailable under ARM. Windows can be dragged using the pointer, and tapping on a window brings it to the front.

[Top]


Classes used