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

The Window Manager Window Panes

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» Technical Details
» Windows Panes

Overview

Window panes are similar to standard windows with one major difference: they are attached to other windows. These windows are called Tool Windows. Normally panes are attached to the outer edge of Tool windows. As a Tool window gets dragged by a mouse pointer, so do the panes.

They are often used to display commonly used icons in an application.

Definition

Window panes are actually defined as a standard window with one difference; within the Window Flags, bit 5 is set to specify a pane window.

This flag is used in two different circumstances:

1 When a pane gets the input focus, the tool window is highlighted.
2 When toggling the tool window, the Wimp must treat panes as transparent.

Usage

Although window panes can increase the productivity of an application, they do require more effort. For a start, the application itself must handle all the management of window panes.

Important aspects to consider when dealing with window panes are:

1 When a Tool window is closed, any attached panes must also be closed by the application.
2 When a Tool window is opened, any attached panes must be opened by the application.

Notes:

  1. To open a pane window at the correct co-ordinates, an application should first get the co-ordinates of the Tool window and then calculate the appropriate position of the pane.
  2. Unwanted redraws can be caused if the order in which windows are opened is not optimised.

See also

  • Wimp_OpenWIndow?
  • Window Flags
  • Open_Window_Request
Revised on January 28, 2010 14:05:06 by GavinWraith (26)? (127.0.0.1)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: The Window Manager Technical Details

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