GETEVENT
and IOWAIT
handlingMain application event manager, does not support asynchronous menus or dialog
boxes, but still supports mixing other I/O events with GETEVENT
events.
This synchronous version is designed to allow a developer to start with it, but then move to the asynchronous version (when required) without making any source code changes.
Code written by myself.