h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » Wimp_SetExtent h2. Wimp_SetExtent h5. (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 | h4. Use The purpose of this call is to set the size of the work area dimensions of a specific window. h4. 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 area lies outside the extent. i.e. a windows current size cannot be changed, causing it to scroll. h4. See also * [[Wimp_CreateWindow|Wimp_CreateWindow]]