1 //////////////////////////////////////
\r
7 #include "MainMDIFrm.h"
\r
10 class CMDIDemoApp : public CWinApp
\r
14 virtual ~CMDIDemoApp() {}
\r
15 virtual BOOL InitInstance();
\r
16 CMainMDIFrame& GetMDIFrame() { return m_MainMDIFrame; }
\r
19 CMainMDIFrame m_MainMDIFrame;
\r
24 // returns a reference to the CMDIDemoApp object
\r
25 inline CMDIDemoApp& GetMDIApp() { return *((CMDIDemoApp*)GetApp()); }
\r
28 #endif // MDIDEMOAPP_H
\r