Area Location and Size
Close box upper left hand corner of the window (25 *25 pixels)
Zoom box upper right hand corner of the window (25 *25 pixels)
Motion bar fills the top 25 pixels of the window, excluding zoom and close boxes
Data area remainder of the window
Event Meaning
DN x y user pressed mouse button at location (x, y)
UP x y user released mouse button at location (x, y)
AT x y user moved mouse to location (x, y)
CR l t r b create new window with positions left, top, right, and bottom
RE redraw all windows from back to front
ZZ exit the WIMP
Action Message
Create window `Created window n at l, t, r, b'
Select window `Selected window n'
Close window `Closed window n'
Move window `Moved window n to l, t, r, b'
Zoom window `Resized window n to l, t, r, b'
Redraw `Window n at l, t, r, b'
<font face="Times New Roman" size=3><pre>CR 0 0 200 200
CR 50 50 250 250
RE
DN 195 5
AT 50 50
UP 198 6
AT 100 100
AT 1000 1000
DN 1020 10
UP 1020 10
RE
DN 100 100
UP 800 0
DN 0 700
UP 1023 1023
DN 50 10
AT 70 70
UP 100 100
DN 60 60
UP 60 60
RE
ZZ</pre></font></p>
<font face="Times New Roman" size=3><pre>Created window 0 at 0, 0, 200, 200
Created window 1 at 50, 50, 250, 250
Window 0 at 0, 0, 200, 200
Window 1 at 50, 50, 250, 250
Selected window 0
Resized window 0 to 0, 0, 1023, 1023
Selected window 0
Resized window 0 to 0, 0, 200, 200
Window 1 at 50, 50, 250, 250
Window 0 at 0, 0, 200, 200
Selected window 0
Selected window 0
Moved window 0 to 20, 60, 220, 260
Moved window 0 to 50, 90, 250, 290
Selected window 1
Closed window 1
Window 0 at 50, 90, 250, 290
</pre></font></p>