Merge branch 'master' of git.ucc.asn.au:/matches/honours
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Tray / src / View.h
1 /////////////////////////////////\r
2 // View.h\r
3 \r
4 #ifndef VIEW_H\r
5 #define VIEW_H\r
6 \r
7 \r
8 \r
9 class CView : public CWnd\r
10 {\r
11 public:\r
12         CView() : m_IsMinimized(FALSE) {}\r
13         virtual ~CView() {}\r
14         void Minimize();\r
15         void Restore();\r
16 \r
17 protected:\r
18         virtual void OnAbout();\r
19         virtual void OnCreate();\r
20         virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);\r
21         virtual void OnDestroy();\r
22         virtual void OnPaint(CDC* pDC); \r
23         virtual void OnInitialUpdate();\r
24         virtual void OnSize();\r
25         virtual void OnTrayIcon(WPARAM wParam, LPARAM lParam);\r
26         virtual void PreCreate(CREATESTRUCT& cs);\r
27         virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);\r
28 \r
29 private:\r
30         BOOL m_IsMinimized;\r
31 };\r
32 \r
33 #endif\r

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