--- /dev/null
+///////////////////////////////////////\r
+// CustomControlApp.h\r
+\r
+#ifndef CUSTOMCONTROLAPP_H\r
+#define CUSTOMCONTROLAPP_H\r
+\r
+#include "MyDialog.h"\r
+#include "MyWebControl.h"\r
+\r
+\r
+// Declaration of the CDialogApp class\r
+class CCustomControlApp : public CWinApp\r
+{\r
+public:\r
+ CCustomControlApp();\r
+ virtual ~CCustomControlApp();\r
+ CMyDialog& GetDialog() {return m_MyDialog;}\r
+ virtual BOOL InitInstance();\r
+\r
+private:\r
+ CMyDialog m_MyDialog;\r
+};\r
+\r
+\r
+// returns a reference to the CCustomControlApp object\r
+inline CCustomControlApp& GetDlgApp() { return *((CCustomControlApp*)GetApp()); }\r
+\r
+\r
+#endif // define CUSTOMCONTROLAPP_H\r
+\r