h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » [[Wimp_GetWindowState|Wimp_GetWindowState]] h6(((. » Wimp_GetWindowState (original syntax) h2. Wimp_GetWindowState (original syntax) h5. (SWI &400CB) |_<. Entry | | |<^. R1 |Pointer to block to return result | |<^. Block| | |>^. +0 |Window Handle | |_<. 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|Window Locations]] | |>^. +32 |[[Window Flags|Window Flags]] | h4. Use The syntax of this call will return a windows visible state. h4. Notes "Visible area" gives the window in screen co-ordinates. "Scroll offset" gives the top-left hand corner of the window in user co-ordinates. It is only an offset when the top-left corner of the extent is (0,0) in user co-ordinates. Another syntax form of this call can be used to cause information relating to a specific window and its parent window to be returned. This, however, requires a Window Manager with nested window capability. h4. See also * [[Wimp_GetWindowState (extended syntax)|Wimp_GetWindowState (extended syntax)]]