Merge branch 'master' of git.ucc.asn.au:/matches/honours
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Splitter / src / SplitterApp.cpp
1 ///////////////////////////////////////////////////////////\r
2 //SplitterApp.cpp -  Definitions for the CSplitterApp class\r
3 \r
4 #include "stdafx.h"\r
5 #include "SplitterApp.h"\r
6 #include "resource.h"\r
7 \r
8 \r
9 CSplitterApp::CSplitterApp()\r
10 {\r
11 }\r
12 \r
13 BOOL CSplitterApp::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
27 \r
28 \r

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