An example of a simple application window manager

The following reference code implements a simple application window manager. There are several ways of designing your window manager. This example shows only the essential initialization and handling required. Your application window manager implementation will likely involve more complicated handling of PPS and Screen events.