msgthread.h

来自「tc35i(GSM模块)的控制程序VC源码」· C头文件 代码 · 共 63 行

H
63
字号
#if !defined(AFX_MSGTHREAD_H__88B1327B_CFF7_412C_B0F2_21DE8200EE02__INCLUDED_)
#define AFX_MSGTHREAD_H__88B1327B_CFF7_412C_B0F2_21DE8200EE02__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MsgThread.h : header file
//

#include "MsgClueDlg.h"

/////////////////////////////////////////////////////////////////////////////
// CMsgThread thread

class CMsgThread : public CWinThread
{
	DECLARE_DYNCREATE(CMsgThread)
protected:
	CMsgThread();           // protected constructor used by dynamic creation

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMsgThread)
	public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();
	virtual int Run();
	//}}AFX_VIRTUAL
    CRITICAL_SECTION m_csSend;

	void SetShowMsg(CString str,CString timeStr,CString telStr);
	CString GetTimeStr();
	CString GetTelStr();
		
	bool IsDlgShow();
	//void EnableDlgOK(bool flg);
// 	CString m_strMsg;
static CMsgClueDlg m_msgClueDlg;
// Implementation
protected:
	virtual ~CMsgThread();

	// Generated message map functions
	//{{AFX_MSG(CMsgThread)
		// 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_MSGTHREAD_H__88B1327B_CFF7_412C_B0F2_21DE8200EE02__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?