Window Flags
~~~~~~~~~~~~

An OmniDesk Utility
by Richard G. Hallas

Window Flags is a combined flag calculator and spy application for windows.

When spying, the information displayed in the Window Flags window will change as you move the pointer around the desktop. If there is no window under the pointer, all the contents of the Window Flags window will be blank or switched off.

When not spying on windows, you can set the switches on and off with the pointer and enter values into the writable icons. As you do this, the contents of the Window Flags window will update. Alternatively, you can enter a new value into the window flags: when you press RETURN, the Window Flags window will update to show you what the value means.

If the spy option is off, you can also drag the contents of the window flags icon out into another application. This is useful if you want to enter the number you have calculated into your text editor. (RISC OS 3 users will find the dragged value takes the form of a piece of transparent perspex with the number 'etched' on it.)

Consult the Programmer's Reference Manual for details about the meanings of the specific window flags. Note that the last three window flags are only applicable to users of RISC OS 3 or later.

Clicking Menu over the Window Flags window presents the main utility menu:

'Info' leads to a standard information window.

'Spy on windows' will be ticked if it is switched on. When on, the contents of the Window Flags window update to be appropriate to the window under the mouse pointer. When off, you can use the window as a window flag calculator.

'Window position' leads to a window which lets you determine where the Window Flags window appears on the screen. This corresponds to an invisible grid, and when you change screen mode the window will snap to this grid. (This feature can be disabled by clicking Adjust on the small window icon, which makes it disappear.)

'Save settings' will save the screen location of the Window Flags window, along with the spy setting.
