1 ///////////////////////////////////////////////
\r
2 // TextApp.cpp - Definitions for the CTextApp class
\r
6 #include "resource.h"
\r
13 BOOL CTextApp::InitInstance()
\r
15 //Create the Frame Window
\r
16 if (!m_Frame.Create())
\r
18 // We get here if the Frame creation fails
\r
20 ::MessageBox(NULL, _T("Failed to create Frame window"), _T("ERROR"), MB_ICONERROR);
\r
21 return FALSE; // returning FALSE ends the application
\r