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_SetExtent

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_SetExtent

Wimp_SetExtent

(SWI &400D7)
Entry
R0 Window handle
R1 Pointer to block
Block
+0 New work area minimum x
+4 New work area minimum y
+8 New work area maximum x
+12 New work area maximum y
Exit
R0 Corrupt

Use

The purpose of this call is to set the size of the work area dimensions of a specific window.

Notes

After setting the work area sizes, it is most likely that the Wimp will need to redraw the scroll bars to reflect the new total size of window.

The work area extent cannot be changed so that any part of the visible work are lies outside the extent. i.e. a windows current size cannot be changed, causing it to scroll.

See also

  • Wimp_CreateWindow
Created on June 12, 2009 01:09:39 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Window Manager SWI Calls

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