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