X-Git-Url: https://git.ucc.asn.au/?p=matches%2Fhonours.git;a=blobdiff_plain;f=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Fsamples%2FFastGDI%2Fsrc%2FFastGDIApp.cpp;fp=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2Fsamples%2FFastGDI%2Fsrc%2FFastGDIApp.cpp;h=335d9e39255bd0a15c1f395ac61c5da2ce20d82c;hp=0000000000000000000000000000000000000000;hb=70a96cca12cb006506461d26cd112bab179fe74c;hpb=8caf60af39689a3546074f0c68d14c3a2e28191e diff --git a/research/transmission_spectroscopy/TOF/Win32++/samples/FastGDI/src/FastGDIApp.cpp b/research/transmission_spectroscopy/TOF/Win32++/samples/FastGDI/src/FastGDIApp.cpp new file mode 100644 index 00000000..335d9e39 --- /dev/null +++ b/research/transmission_spectroscopy/TOF/Win32++/samples/FastGDI/src/FastGDIApp.cpp @@ -0,0 +1,31 @@ +////////////////////////////////////////////// +// FastGDIApp.cpp + +#include "stdafx.h" +#include "FastGDIApp.h" + + +// Definitions for the CFastGDIApp class +CFastGDIApp::CFastGDIApp() +{ +} + +CFastGDIApp::~CFastGDIApp() +{ +} + +BOOL CFastGDIApp::InitInstance() +{ + //Create the Frame Window + if (!m_Frame.Create()) + { + // We get here if the Frame creation fails + + ::MessageBox(NULL, _T("Failed to create Frame window"), _T("ERROR"), MB_ICONERROR); + return FALSE; // returning FALSE ends the application + } + + return TRUE; +} + +