STEP 3
Handle the Windows Messages Received
- Write MainWndProc, which does the following:
- Use nested switch constructs to handle valid windows messages expected by the main window.
- Makes calls to other procedures such as Dialog Box procedures, when necessary for handling messages to other resources.