netcomthread.h
来自「用算法来实现一个收费系统」· C头文件 代码 · 共 64 行
H
64 行
#if !defined(AFX_NETCOMTHREAD_H__8723D4C1_3A0B_11D3_96EA_00A0C948983E__INCLUDED_)
#define AFX_NETCOMTHREAD_H__8723D4C1_3A0B_11D3_96EA_00A0C948983E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NetComThread.h : header file
//
#define WM_TIME_COLOCK WM_USER+1
#define WM_KEY_USE WM_USER+2
#define WM_TIMETXJ_COLOCK WM_USER+4
//wangyu
#define WM_KEYTXJ_USE WM_USER+3
//wangyu
/////////////////////////////////////////////////////////////////////////////
// CNetComThread thread
struct Data_Use;
class CNetComManger;
class CNetComThread : public CWinThread
{
DECLARE_DYNCREATE(CNetComThread)
protected:
CNetComThread(); // protected constructor used by dynamic creation
// Attributes
public:
// Operations
public:
CNetComManger * m_pNetCom;
Data_Use * m_pData_Use;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNetComThread)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
protected:
afx_msg LONG OnTimerClock(UINT wParam,LONG lParam);
afx_msg LONG OnKey(UINT wParam,LONG lParam);
afx_msg LONG OnTimerTxjClock(UINT wParam,LONG lParam);
afx_msg LONG OnKeyTxj(UINT wParam,LONG lParam);
virtual ~CNetComThread();
// Generated message map functions
//{{AFX_MSG(CNetComThread)
// 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_NETCOMTHREAD_H__8723D4C1_3A0B_11D3_96EA_00A0C948983E__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?