1 //////////////////////////////////////////////////
\r
10 // Declaration of the CFrameApp class
\r
11 class CFrameApp : public CWinApp
\r
15 virtual ~CFrameApp();
\r
16 virtual BOOL InitInstance();
\r
17 CMainFrame& GetMainFrame() { return m_Frame; }
\r
24 // a useful function that returns a reference to the CFrameApp object
\r
25 inline CFrameApp& GetFrameApp() { return *((CFrameApp*)GetApp()); }
\r
28 #endif // define FRAMEAPP_H
\r