Window/Icon Flag Generator
Graham Crow and Lee Calcraft

This program generates icon and window flag words. When run, the program shows a screen displaying the flags, with a set of option buttons along the bottom. The option buttons allow the user to select between window or icon flags, print the flags or quit the program.

Clicking on any of the plinths in the flag display toggles the corresponding flag on or off, except for icon flags taking a numeric parameter, in which case a box is displayed allowing a decimal number to be entered. The current value of the flag word is displayed in the top right-hand corner.

Alternatively, clicking on the flag word in the top right-hand corner allows a value to be entered, which will be reflected in the settings of the individual flags. The flags can then be edited as required.

Note that the last 8 icon flags have a different purpose depending on whether icon text is anti-aliased. If text is anti-aliased then bits 24-31 contain the font handle, otherwise they contain the text colours.
