Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
R1 | Pointer to block |
Block | |
+0 | Window handle |
+4 | Visible area minimum x |
+8 | Visible area minimum y |
+12 | Visible area maximum x |
+16 | Visible area maximum y |
+20 | Scroll offset x |
+24 | Scroll offset y |
+28 | Window Locations |
Exit | |
---|---|
R1 | Pointer to block |
Block | |
+0 | Window handle |
+4 | Visible area minimum x |
+8 | Visible area minimum y |
+12 | Visible area maximum x |
+16 | Visible area maximum y |
+20 | Scroll offset x |
+24 | Scroll offset y |
The purpose of this call is to update the list of active windows. It is used when a window is to be opened for the first time, and when a window moves, scrolls or resizes.
“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.
The Wimp will issue any redraw messages to the application if necessary to ensure the window is updated.
This call is limited to opening parent windows that belong to the application. The extended syntax form can open parent or child windows that may or may not belong to the application.