Mastering the Wimp - Creating Windows
by Lee Calcraft

This short utility simplifies calculating the value of the flag word used in SWI "Wimp_CreateWindow".

Clicking on the !Wimp icon runs the program. The program asks whether each flag is on or off, then prints the value of the resulting flag word in hexadecimal.

More details on window flags are given in the article 'Mastering the Wimp' (RISC User Vol.3 No.1 p49), and in the RISC OS Programmer's Reference Manual.