h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » [[Wimp_CreateWindow|Wimp_CreateWindow]] h6(((. » Window Block h2. Window Block |_>^{width:4em}. Offset |_<^. Contents | |>. +0 |Visible area minimum x (inclusive) | |>. +4 |Visible area minimum y (inclusive) | |>. +8 |Visible area maximum x (exclusive) | |>. +12 |Visible area maximum y (exclusive) | |>. +16 |Scroll x offset | |>. +20 |Scroll y offset | |>. +24 |[[Window Locations|Window Locations]] | |>. +28 |[[Window Flags|Window Flags]] | |>. +32 |Title foreground and window frame colour[1]| |>. +33 |Title background colour | |>. +34 |Work area foreground colour | |>. +35 |Work area background colour[2]| |>. +36 |Scroll bar outer colour | |>. +37 |Scroll bar Slider colour | |>. +38 |Title background colour (input focus) | |>. +39 |[[Extra Window Flags|Extra Window Flags]] | |>. +40 |Work area minimum x | |>. +44 |Work area minimum y | |>. +48 |Work area maximum x | |>. +52 |Work area maximum y | |>. +56 |Title Bar [[Icon Flags|Icon Flags]] | |>. +60 |[[Window Button Types|Window Button Types]] | |>. +64 |Sprite area control block pointer (+1 for Wimp sprite area) | |>. +68 |Minimum width of window (2 bytes) | |>. +70 |Minimum height of window (2 bytes) | |>. +72 |Title data [[Icon Data|(Icon Data)]]| |>. +84 |Number of icons in initial definition (0 or more) | |>. +88 |0 or more [[Icon Block|Icon Block]] (32 bytes each) | fn1. Value at +32 sets the Title Foreground and window frame colour, however, if the value is &FF then the window will have no frame, but window furniture will still be present. fn2. Value at +35 sets the work area background colour, however, if the value is &FF then the Wimp will not clear the rectangles during a redraw operation. 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. "Work area" gives the extent in user co-ordinates. h4. See also * [[Wimp_CreateWindow|Wimp_CreateWindow]] * [[Wimp_OpenWindow|Wimp_OpenWindow]]