X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2FWCE%20samples%2FDlgSubclass%2FDlgSubclassApp.cpp;fp=research%2Ftransmission_spectroscopy%2FTOF%2FWin32%2B%2B%2FWCE%20samples%2FDlgSubclass%2FDlgSubclassApp.cpp;h=6b1a06a15325f11257ed4bcc6a8f69147bb58c5d;hb=70a96cca12cb006506461d26cd112bab179fe74c;hp=0000000000000000000000000000000000000000;hpb=8caf60af39689a3546074f0c68d14c3a2e28191e;p=matches%2Fhonours.git diff --git a/research/transmission_spectroscopy/TOF/Win32++/WCE samples/DlgSubclass/DlgSubclassApp.cpp b/research/transmission_spectroscopy/TOF/Win32++/WCE samples/DlgSubclass/DlgSubclassApp.cpp new file mode 100644 index 00000000..6b1a06a1 --- /dev/null +++ b/research/transmission_spectroscopy/TOF/Win32++/WCE samples/DlgSubclass/DlgSubclassApp.cpp @@ -0,0 +1,27 @@ +/////////////////////////////////////// +// DlgSubclassApp.cpp + +#include "resource.h" +#include "DlgSubclassApp.h" + + +// Definitions for the CDialogApp class +CDlgSubclassApp::CDlgSubclassApp() : m_MyDialog(IDD_DIALOG1) +{ +} + +BOOL CDlgSubclassApp::InitInstance() +{ + //Display the Modal Dialog + m_MyDialog.DoModal(); + + //End the program + ::PostQuitMessage(0); + + return TRUE; +} + +CDlgSubclassApp::~CDlgSubclassApp() +{ +} +