ThreadTestView.h
上传用户:hvpower
上传日期:2022-07-01
资源大小:2660k
文件大小:2k
- // ThreadTestView.h : interface of the CThreadTestView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_THREADTESTVIEW_H__3D83AD4C_DEE8_4F97_B043_0C6A6146FDAC__INCLUDED_)
- #define AFX_THREADTESTVIEW_H__3D83AD4C_DEE8_4F97_B043_0C6A6146FDAC__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #define MY_MSG01 WM_USER+1
- class CThreadTestView : public CView
- {
- protected: // create from serialization only
- CThreadTestView();
- DECLARE_DYNCREATE(CThreadTestView)
- // Attributes
- public:
- CThreadTestDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CThreadTestView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CThreadTestView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- BOOL m_Begin;
- BOOL m_End;
- protected:
- //{{AFX_MSG(CThreadTestView)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnThreadBegin();
- afx_msg void OnUpdateThreadBegin(CCmdUI* pCmdUI);
- afx_msg void OnThreadKill();
- afx_msg void OnUpdateThreadKill(CCmdUI* pCmdUI);
- //}}AFX_MSG
- afx_msg void OnMyMsg01(WPARAM wParam,LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in ThreadTestView.cpp
- inline CThreadTestDoc* CThreadTestView::GetDocument()
- { return (CThreadTestDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_THREADTESTVIEW_H__3D83AD4C_DEE8_4F97_B043_0C6A6146FDAC__INCLUDED_)