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

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