CalculateThread.h
资源名称:MFC_Multy.rar [点击查看]
上传用户:shenmao
上传日期:2014-12-06
资源大小:238k
文件大小:1k
源码类别:
进程与线程
开发平台:
Visual C++
- #if !defined(AFX_CALCULATETHREAD_H__05FE84A7_33E6_462F_997C_093FD59FD186__INCLUDED_)
- #define AFX_CALCULATETHREAD_H__05FE84A7_33E6_462F_997C_093FD59FD186__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // CalculateThread.h : header file
- //
- #include "Multy7Dlg.h"
- #define WM_CALCULATE WM_USER+1
- /////////////////////////////////////////////////////////////////////////////
- // CCalculateThread thread
- class CCalculateThread : public CWinThread
- {
- DECLARE_DYNCREATE(CCalculateThread)
- protected:
- CCalculateThread(); // protected constructor used by dynamic creation
- afx_msg LONG OnCalculate(UINT wParam,LONG lParam);
- // Attributes
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CCalculateThread)
- public:
- virtual BOOL InitInstance();
- virtual int ExitInstance();
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CCalculateThread();
- // Generated message map functions
- //{{AFX_MSG(CCalculateThread)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CALCULATETHREAD_H__05FE84A7_33E6_462F_997C_093FD59FD186__INCLUDED_)