UIThread.h
Upload User: shenmao
Upload Date: 2014-12-06
Package Size: 238k
Code Size: 1k
Category:

Process-Thread

Development Platform:

Visual C++

  1. #if !defined(AFX_UITHREAD_H__5B17450C_013E_4968_858E_D98E27610CD0__INCLUDED_)
  2. #define AFX_UITHREAD_H__5B17450C_013E_4968_858E_D98E27610CD0__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // UIThread.h : header file
  7. //
  8. #include "UIThreadDlg.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CUIThread thread
  11. class CUIThread : public CWinThread
  12. {
  13. DECLARE_DYNCREATE(CUIThread)
  14. protected:
  15. CUIThread();           // protected constructor used by dynamic creation
  16. // Attributes
  17. public:
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CUIThread)
  23. public:
  24. virtual BOOL InitInstance();
  25. virtual int ExitInstance();
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. protected:
  29. CUIThreadDlg m_dlg;
  30. virtual ~CUIThread();
  31. // Generated message map functions
  32. //{{AFX_MSG(CUIThread)
  33. // NOTE - the ClassWizard will add and remove member functions here.
  34. //}}AFX_MSG
  35. DECLARE_MESSAGE_MAP()
  36. };
  37. /////////////////////////////////////////////////////////////////////////////
  38. //{{AFX_INSERT_LOCATION}}
  39. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  40. #endif // !defined(AFX_UITHREAD_H__5B17450C_013E_4968_858E_D98E27610CD0__INCLUDED_)