Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Themes / src / ThemesApp.cpp
1 //////////////////////////////////////////////\r
2 // ThemesApp.cpp\r
3 \r
4 #include "stdafx.h"\r
5 #include "ThemesApp.h"\r
6 \r
7 \r
8 // Definitions for the CFrameApp class\r
9 CThemesApp::CThemesApp()\r
10 {\r
11 }\r
12 \r
13 CThemesApp::~CThemesApp()\r
14 {\r
15 }\r
16 \r
17 BOOL CThemesApp::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

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