--- /dev/null
+//////////////////////////////////////////////\r
+//FrameApp.cpp\r
+\r
+#include "stdafx.h"\r
+#include "FrameApp.h"\r
+\r
+\r
+// Definitions for the CFrameApp class\r
+CFrameApp::CFrameApp()\r
+{\r
+}\r
+\r
+CFrameApp::~CFrameApp()\r
+{\r
+}\r
+\r
+BOOL CFrameApp::InitInstance()\r
+{\r
+ //Create the Frame Window\r
+ if (!m_Frame.Create()) \r
+ {\r
+ // We get here if the Frame creation fails\r
+ \r
+ ::MessageBox(NULL, _T("Failed to create Frame window"), _T("ERROR"), MB_ICONERROR);\r
+ return FALSE; // returning FALSE ends the application\r
+ }\r
+\r
+ return TRUE;\r
+}\r
+\r
+\r