MainDlg Project
===============

This is a generic windows program which registers a class and
makes a main window.  However, the main window is not built
using CreateWindow but with CreateDialog.  A resource is used
for this main window.

The window uses a WndProc not a DlgProc !

This is the method used int Petzold's HEXCALC.ICO example in 
Programming Windows.

A C/C++ example of this method is also found in the MaxSafe.exe
project.

I haven't been able to get the tab key to move focus among controls.
Possibly, the WindProc has to provide tab key handling.

Use of a dialog resource for the main window is convenient for
form design.  It might be simpler to use only a dialog and not
bother with a main window.

However Resource Workshop help states :

Using a custom dialog class provides additional control over the
behavior of the dialog window. In order to create a custom dialog class,
you must set the cbWndExtra field of the WNDCLASS structure to at least
as many bytes as used by DLGWINDOWEXTRA, the default dialog class.
However, the additional control provided by the custom class is illusory
because much of the Windows dialog manager is implemented in the
IsDialogMessage function, not the dialog window procedure.


