TaskingView.h
上传用户:z_mail1980
上传日期:2007-06-01
资源大小:647k
文件大小:2k
源码类别:

SNMP编程

开发平台:

Visual C++

  1. // TaskingView.h : interface of the CTaskingView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_TASKINGVIEW_H__9F475A6B_E4E7_4F1E_A91A_C316B42EE02F__INCLUDED_)
  5. #define AFX_TASKINGVIEW_H__9F475A6B_E4E7_4F1E_A91A_C316B42EE02F__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CTaskingView : public CFormView
  10. {
  11. protected: // create from serialization only
  12. CTaskingView();
  13. DECLARE_DYNCREATE(CTaskingView)
  14. public:
  15. //{{AFX_DATA(CTaskingView)
  16. enum { IDD = IDD_TASKING_FORM };
  17. BOOL m_bOnIdle2;
  18. BOOL m_bOnIdle1;
  19. BOOL m_bThread1;
  20. BOOL m_bThread2;
  21. //}}AFX_DATA
  22. // Attributes
  23. public:
  24. CTaskingDoc* GetDocument();
  25. // Operations
  26. public:
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CTaskingView)
  30. public:
  31. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34. virtual void OnInitialUpdate(); // called first time after construct
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. public:
  38. virtual ~CTaskingView();
  39. #ifdef _DEBUG
  40. virtual void AssertValid() const;
  41. virtual void Dump(CDumpContext& dc) const;
  42. #endif
  43. protected:
  44. // Generated message map functions
  45. protected:
  46. //{{AFX_MSG(CTaskingView)
  47. afx_msg void OnCbonidle();
  48. afx_msg void OnCbthread1();
  49. afx_msg void OnCbthread2();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. };
  53. #ifndef _DEBUG  // debug version in TaskingView.cpp
  54. inline CTaskingDoc* CTaskingView::GetDocument()
  55.    { return (CTaskingDoc*)m_pDocument; }
  56. #endif
  57. /////////////////////////////////////////////////////////////////////////////
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_TASKINGVIEW_H__9F475A6B_E4E7_4F1E_A91A_C316B42EE02F__INCLUDED_)