Example C Application
by Lee Calcraft

This is an example of a Wimp application written in C. When run, the program adds an icon to the icon bar. Clicking Select on this icon causes a beep to be generated. Clicking Menu over the icon  displays a menu containing the usual Info and Quit options, plus a Test option.

The Test option leads to a submenu containing three entries. Choosing Test1 causes a tick to be toggled on and off. Choosing either Test2 or Test3 just causes a beep to be generated (as does choosing any menu entry, even an unselectable one).

The application's source code is saved as !C_Demo.C_Source.
