Ordinal
: ordinal position, drag and
dropOrdinal
uses five numbered, draggable windows, similar
to the draggable window used in the previous example to demonstrate the ordinal
positioning of windows.
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.
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.
RWindowTreeNode
: General window behaviour