Commit before breaking everything
[matches/honours.git] / research / transmission_spectroscopy / TOF / Win32++ / samples / Threads / src / TestWnd.h
1 //////////////////////////////////////////////////////\r
2 // TestWnd.h\r
3 //  Declaration of the CTestWindow class\r
4 \r
5 #ifndef TESTWND_H\r
6 #define TESTWND_H\r
7 \r
8 \r
9 class CTestWindow : public CWnd, public CThread\r
10 {\r
11 public:\r
12         CTestWindow(int nWindow);\r
13         virtual ~CTestWindow() {}\r
14 \r
15 protected:\r
16         // Override CThread member functions\r
17         virtual BOOL InitInstance();\r
18 \r
19         // Override CWnd member functions\r
20         virtual HWND Create(CWnd* pWndParent = 0);\r
21         virtual void OnInitialUpdate();\r
22         virtual LRESULT WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam);\r
23 \r
24 private:\r
25         enum Constants\r
26         {\r
27                 WM_WINDOWCREATED     = WM_USER+1,\r
28                 WM_TESTMESSAGE       = WM_USER+2\r
29         };\r
30 \r
31         int m_nWindow;\r
32 };\r
33 \r
34 \r
35 #endif  //TESTWIN_H\r

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