1 //////////////////////////////////////////////////////
\r
3 // Declaration of the CTestWindow class
\r
9 class CTestWindow : public CWnd, public CThread
\r
12 CTestWindow(int nWindow);
\r
13 virtual ~CTestWindow() {}
\r
16 // Override CThread member functions
\r
17 virtual BOOL InitInstance();
\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
27 WM_WINDOWCREATED = WM_USER+1,
\r
28 WM_TESTMESSAGE = WM_USER+2
\r