📄 producerthread.hevent
字号:
/************************************************************************
* 版权所有 (C)2003,windcao(曹建峰)
* 作 者: 曹建峰
* 完成日期: 2004年1月9日
* 修改日期 版本号 修改人 修改内容
************************************************************************/
#if !defined(AFX_ProducerTHREAD_H__07623DF8_B5D8_4B25_A73E_B0A353115C28__INCLUDED_)
#define AFX_ProducerTHREAD_H__07623DF8_B5D8_4B25_A73E_B0A353115C28__INCLUDED_
//#include "P_CDlg.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ProducerThread.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CProducerThread thread
class CProducerThread : public CWinThread
{
DECLARE_DYNCREATE(CProducerThread)
public:
CProducerThread(void* hParent);//LPSTR sBuf
virtual ~CProducerThread();
protected:
CProducerThread(); // protected constructor used by dynamic creation
// Attributes
public:
// Operations
public:
void KillSelf();
CProducerThread *m_pProducerThread;
void *m_pParentDlg;
//LPSTR m_spBuf;
// CP_CDlg * m_pParent;
//CP_CDlg* m_pParent;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProducerThread)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
virtual int Run();
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CProducerThread)
// 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_ProducerTHREAD_H__07623DF8_B5D8_4B25_A73E_B0A353115C28__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -