1 //////////////////////////////////////////////////////
\r
3 // Declaration of the CSimpleView and CSimpleMDIChild class
\r
5 #ifndef MDICHILDVIEW_H
\r
6 #define MDICHILDVIEW_H
\r
10 // Declaration of CSimpleView
\r
11 class CSimpleView : public CWnd
\r
15 virtual void OnDraw(CDC* pDC);
\r
16 virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
\r
18 COLORREF GetColor() {return m_Color;}
\r
19 void SetColor(COLORREF color) { m_Color = color; }
\r
25 // Declaration of the CDockSimple class
\r
26 class CDockSimple : public CDocker
\r
29 CDockSimple() {SetView(m_View);}
\r
30 virtual ~CDockSimple() {}
\r
33 // virtual CDocker* NewDockerFromID(int nID);
\r
34 // virtual void OnInitialUpdate();
\r
41 // Declaration of CSimpleMDIChild
\r
42 class CSimpleMDIChild : public CMDIChild
\r
46 virtual ~CSimpleMDIChild();
\r
49 virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
\r
50 virtual void OnInitialUpdate();
\r
51 virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
\r
57 #endif //MDICHILDVIEW_H
\r