TaskingView.h
上传用户:z_mail1980
上传日期:2007-06-01
资源大小:647k
文件大小:2k
- // TaskingView.h : interface of the CTaskingView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_TASKINGVIEW_H__9F475A6B_E4E7_4F1E_A91A_C316B42EE02F__INCLUDED_)
- #define AFX_TASKINGVIEW_H__9F475A6B_E4E7_4F1E_A91A_C316B42EE02F__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CTaskingView : public CFormView
- {
- protected: // create from serialization only
- CTaskingView();
- DECLARE_DYNCREATE(CTaskingView)
- public:
- //{{AFX_DATA(CTaskingView)
- enum { IDD = IDD_TASKING_FORM };
- BOOL m_bOnIdle2;
- BOOL m_bOnIdle1;
- BOOL m_bThread1;
- BOOL m_bThread2;
- //}}AFX_DATA
- // Attributes
- public:
- CTaskingDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTaskingView)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual void OnInitialUpdate(); // called first time after construct
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CTaskingView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CTaskingView)
- afx_msg void OnCbonidle();
- afx_msg void OnCbthread1();
- afx_msg void OnCbthread2();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in TaskingView.cpp
- inline CTaskingDoc* CTaskingView::GetDocument()
- { return (CTaskingDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_TASKINGVIEW_H__9F475A6B_E4E7_4F1E_A91A_C316B42EE02F__INCLUDED_)