ARGH
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / MDIFrameDemo / src / MDIChildSimple.h
1 //////////////////////////////////////////////////////\r
2 // MDIChildSimple.h\r
3 //  Declaration of the CViewSimple and CMDIChildSimple class\r
4 \r
5 #ifndef MDICHILDVIEW_H\r
6 #define MDICHILDVIEW_H\r
7 \r
8 \r
9 // Declaration of CViewSimple\r
10 class CViewSimple : public CWnd\r
11 {\r
12 public:\r
13         CViewSimple();\r
14         virtual void OnDraw(CDC* pDC);\r
15         virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);\r
16         \r
17         COLORREF GetColor() {return m_Color;}\r
18         void SetColor(COLORREF color) { m_Color = color; }\r
19 \r
20 private:\r
21         COLORREF m_Color;\r
22 };\r
23 \r
24 \r
25 // Declaration of CMDIChildSimple\r
26 class CMDIChildSimple : public CMDIChild\r
27 {\r
28 public:\r
29         CMDIChildSimple();\r
30         virtual ~CMDIChildSimple();\r
31 \r
32 protected:\r
33         virtual int OnClose();\r
34         virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);\r
35         virtual void OnInitialUpdate();\r
36         virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);\r
37 \r
38 private:\r
39         CViewSimple m_View;\r
40 };\r
41 \r
42 #endif  //MDICHILDVIEW_H\r

UCC git Repository :: git.ucc.asn.au