>The most important part of making this shell work is the gProgramState%
>variable. I find the most usefulness out of something like this:
That is indeed very useful; I do something similar, but rather than
keeping a global, I base the "state" on what window is open at the
moment; or if they can open multiple "document" windows, on what window
class is active.
This lets me have a complete multiwindow help system, splash screen,
prefs window(s), and so forth and route events accordingly.
Bill
-----------
A morning without coffee is like something without something else