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

Wimp_OpenWindow (extended syntax)

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_OpenWindow
» Wimp_OpenWindow (extended syntax)

Wimp_OpenWindow (extended syntax)

(SWI &400C5)
Entry
R1 Pointer to block
Block
+0 Window handle
+4 Visible area minimum x
+8 Visible area minimum y
+12 Visible area maximum x
+16 Visible area maximum y
+20 Scroll offset x
+24 Scroll offset y
+28 Window Locations
+32 Window Flags if bit 0 of nesting flags is set, or
  0 to flush all pending window opens to the screen
R2 “TASK” (&4B534154)
R3 Window handle, or
  -1 for top level window
R4 Nested Window Flags
Exit
R1 Pointer to block
Block
+0 Window handle
+4 Visible area minimum x
+8 Visible area minimum y
+12 Visible area maximum x
+16 Visible area maximum y
+20 Scroll offset x
+24 Scroll offset y

Use

This purpose of this call is to update the list of active windows. It is used when a window is to be opened for the first time, and when a window moves, scrolls or resizes.

Notes

The Wimp will issue any redraw messages to the application if necessary to ensure the window is updated.

This syntax form can open parent or child windows that may or may not belong to the application, however, this is only possible if Window Manager has nested window capability.

The original syntax form only opens parent windows that belong to the application.

See also

  • Wimp_CloseWindow
  • Wimp_CreateWindow
  • Wimp_OpenWindow (original syntax)
Created on June 7, 2009 22:53:31 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Nested Window Flags, Nesting Values, Wimp_OpenWindow, Wimp_OpenWindow (original syntax)

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