1 ///////////////////////////////////////
\r
4 #ifndef DLGSUBCLASSAPP_H
\r
5 #define DLGSUBCLASSAPP_H
\r
7 #include "MyDialog.h"
\r
10 // Declaration of the CDialogApp class
\r
11 class CDialogDemoApp : public CWinApp
\r
15 virtual ~CDialogDemoApp();
\r
16 CMyDialog& GetDialog() {return m_MyDialog;}
\r
17 virtual BOOL InitInstance();
\r
20 CMyDialog m_MyDialog;
\r
24 // returns a reference to the CDialogDemoApp object
\r
25 inline CDialogDemoApp& GetDlgApp() { return *((CDialogDemoApp*)GetApp()); }
\r
28 #endif // define DLGSUBCLASSAPP_H
\r