A Wimp Message Monitor
by A. Phillipson

When run, the program installs an icon on the icon bar, and opens a window displaying reason codes returned to the program by Wimp_Poll, and a description of each.

Clicking Menu over the icon bar icon displays a Menu containing 6 entries. Info leads to the usual 'About this program' dialogue box. Controls and Messages toggle the two program windows open or closed. Report leads to a submenu allowing the user to set which reason codes are reported. Respond toggles whether or not the Message Monitor windows themselves respond to operations such as dragging or resizing. Finally, Quit terminates the program.

Initially, the Messages window is open and the Controls window is closed. All reason codes except 0 (null reason code) are reported, and windows do not respond to dragging, scrolling, resizing etc.

The Controls window simply provides a number of icons to allow the program to be used. Two can be dragged, two are writeable, while the other one can be used to turn off the Respond option. Note that you cannot use this icon to turn the Respond option back on again, as it only works if Respond is already on.

The Messages window also contains a number of draggable and writeable icons, but in addition displays the last ten reason codes reported by the application. The Respond option affects this window in the same way as the Controls window.
