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

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