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