What happens when a Win32 Application begins:
WinMain makes use of a CWinApp object (or one which
inherits from CWinApp)
The CWinApp (or subclass) constructor invokes
InitInstance
InitInstance creates (using the already-there
m_pMainWnd) an instance of CFrameWnd
CFrameWnd (or subclass) constructor is invoked &
created the GUI frame
InitInstance paints & refreshes the GUI window