📄 event2dlg.h
字号:
// Event2Dlg.h : header file
//
#if !defined(AFX_EVENT2DLG_H__62726B57_36A8_4C7C_95D5_BE8D3BF665FC__INCLUDED_)
#define AFX_EVENT2DLG_H__62726B57_36A8_4C7C_95D5_BE8D3BF665FC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
typedef struct{
HANDLE *hEvent;
BOOL *lpStopThread;
int *TotalReceive;
int *TotalTimeout;
int *ThreadIndex;
CListBox *pListBox;
CListBox *pListBox2;
} THREAD_DATA;
/////////////////////////////////////////////////////////////////////////////
// CEvent2Dlg dialog
class CEvent2Dlg : public CDialog
{
// Construction
public:
CEvent2Dlg(CWnd* pParent = NULL); // standard constructor
int m_iTotalReceive;
int m_iTotalTimeout;
int m_iThreadIndex;
CListBox *m_pListBox;
CListBox *m_pListBox2;
BOOL m_bStopThread;
CWinThread *m_pThread;
THREAD_DATA m_ThreadData;
// Dialog Data
//{{AFX_DATA(CEvent2Dlg)
enum { IDD = IDD_EVENT2_DIALOG };
CString m_strIPAddress;
CString m_strIPAddress2;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEvent2Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CEvent2Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnExit();
afx_msg void OnStart();
afx_msg void OnStop();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EVENT2DLG_H__62726B57_36A8_4C7C_95D5_BE8D3BF665FC__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -