1 ///////////////////////////////////////
\r
7 #include "TofDialog.h"
\r
10 // Declaration of the CDialogApp class
\r
11 class CDialogApp : public CWinApp
\r
15 virtual ~CDialogApp();
\r
16 virtual BOOL InitInstance();
\r
17 CMyDialog& GetDialog() {return m_MyDialog;}
\r
20 CMyDialog m_TofDialog;
\r
23 // returns a reference to the CDialogApp object
\r
24 inline CDialogApp& GetDialogApp() { return *((CDialogApp*)GetApp()); }
\r
27 #endif // define DIALOGAPP_H
\r