ARGH
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Notepad / src / TextApp.cpp
1 ///////////////////////////////////////////////\r
2 // TextApp.cpp -  Definitions for the CTextApp class\r
3 \r
4 #include "stdafx.h"\r
5 #include "TextApp.h"\r
6 #include "resource.h"\r
7 \r
8 \r
9 CTextApp::CTextApp()\r
10 {\r
11 }\r
12 \r
13 BOOL CTextApp::InitInstance()\r
14 {\r
15         //Create the Frame Window\r
16         if (!m_Frame.Create())\r
17         {\r
18                 // We get here if the Frame creation fails\r
19 \r
20                 ::MessageBox(NULL, _T("Failed to create Frame window"), _T("ERROR"), MB_ICONERROR);\r
21                 return FALSE; // returning FALSE ends the application\r
22         }\r
23 \r
24         return TRUE;\r
25 }\r
26 \r

UCC git Repository :: git.ucc.asn.au