RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Window Stacks

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_CreateWindow
» Window Block
» Window Flags
» Window Stacks

Window Stacks

Under RISC OS 4.00 and later, there are several window furniture stacks per ‘domain’ of windows, where a domain is either the main window stack or the parent of a number of child windows.

Within each domain, there are three stacks of windows:

Foreground Windows

These have the foreground bit set and lie above normal windows, and above the window furniture of their parent. Bringing a standard window to the front will move it just behind the backmost ‘foreground’ window. For a child window, moving a foreground window so that it touches the parent window furniture will cause the furniture to move to accommodate the this child window. The Wimp’s error box has this bit set.

Background Windows

These have the background bit set and live below normal windows. The pinboard window has this bit set to prevent standard windows being opened behind it. Note that attempting to move windows around in the background window stack causes undesirable results on version of the Window Manager prior to 5.18.

Standard Windows

These have neither bit set and live between the other stacks.

There is also a fourth stack of ‘hidden’ windows, which appear behind the back-most window. Windows are moved into this stack when iconized. Moving windows around in this stack will have no effect, as they will never be displayed.

See also

  • Wimp_CreateWindow
Revised on June 17, 2009 21:45:48 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: Window Flags

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys