1 //////////////////////////////////////////////////
\r
3 // Declaration of the CDialogApp class
\r
10 #include "MyDialog.h"
\r
13 class CDialogApp : public CWinApp
\r
17 virtual ~CDialogApp();
\r
18 virtual BOOL InitInstance();
\r
19 CMyDialog& GetDialog() { return MyDialog; }
\r
26 // returns a reference to the CDialogApp object
\r
27 inline CDialogApp& GetDlgApp() { return *((CDialogApp*)GetApp()); }
\r
30 #endif // define DIALOGAPP_H
\r