Documentation: Wimp_GetWindowOutline
Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» SWI Calls
» Wimp_GetWindowOutline
Wimp_GetWindowOutline
(SWI &400E0)
| Entry | |
|---|---|
| R1 | Pointer to block to return result |
| Block | |
| +0 | Window Handle |
| Exit | |
|---|---|
| R0 | Corrupt |
| R1 | Block is updated |
| Block | |
| +0 | Window handle |
| +4 | Bounding box minimum x (inclusive) |
| +8 | Bounding box minimum y (inclusive) |
| +12 | Bounding box maximum x (exclusive) |
| +16 | Bounding box maximum y (exclusive) |
Use
The purpose of this call is to return the co-ordinates of a rectangle that covers the window (including window furniture).
Notes
A window does not need to be open for this call to function, unless the Window Manger cannot handle nested windows.