1 ///////////////////////////////////////
\r
2 // CustomControlApp.h
\r
4 #ifndef CUSTOMCONTROLAPP_H
\r
5 #define CUSTOMCONTROLAPP_H
\r
7 #include "MyDialog.h"
\r
8 #include "MyWebControl.h"
\r
11 // Declaration of the CDialogApp class
\r
12 class CCustomControlApp : public CWinApp
\r
15 CCustomControlApp();
\r
16 virtual ~CCustomControlApp();
\r
17 CMyDialog& GetDialog() {return m_MyDialog;}
\r
18 virtual BOOL InitInstance();
\r
21 CMyDialog m_MyDialog;
\r
25 // returns a reference to the CCustomControlApp object
\r
26 inline CCustomControlApp& GetDlgApp() { return *((CCustomControlApp*)GetApp()); }
\r
29 #endif // define CUSTOMCONTROLAPP_H
\r