RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

WindowManager Window Panes

WindowManager
» 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 December 4, 2013 13:40:34 by Jeffrey Lee (213) (195.72.173.131)
Edit | Back in time (4 revisions) | See changes | History | Views: Print | Source | Linked from: WindowManager Technical Details

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 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