Documentation: Wimp_GetWindowState (extended syntax)
Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» SWI Calls
» Wimp_GetWindowState
» Wimp_GetWindowState (extended syntax)
Wimp_GetWindowState (extended syntax)
(SWI &400CB)
| Entry | |
|---|---|
| R1 | Pointer to block to return result |
| Block | |
| +0 | Window Handle |
| R2 | ”TASK” (&4B534154) |
| Exit | |
|---|---|
| R1 | Block is updated |
| Block | |
| +0 | Window handle, or -2 for icon bar |
| +4 | Visible area minimum x |
| +8 | Visible area minimum y |
| +12 | Visible area maximum x |
| +16 | Visible area maximum y |
| +20 | Scroll x offset |
| +24 | Scroll y offset |
| +28 | Window Locations |
| +32 | Window Flags |
| R3 | Parent window handle, or -1 if top level window |
| R4 | Nested Window Flags |
Use
The syntax of this call will return a windows visible state and its parent window handle and information relating to the child windows nested flags.
Notes
A Window Manager with nested window capability is required for this call to work.