?? pooling1dlg.h
字號:
// Pooling1Dlg.h : header file
//
#if !defined(AFX_POOLING1DLG_H__CC4BAD1F_9507_4299_9473_574EA258C15A__INCLUDED_)
#define AFX_POOLING1DLG_H__CC4BAD1F_9507_4299_9473_574EA258C15A__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;
} THREAD_DATA;
/////////////////////////////////////////////////////////////////////////////
// CPooling1Dlg dialog
class CPooling1Dlg : public CDialog
{
// Construction
public:
CPooling1Dlg(CWnd* pParent = NULL); // standard constructor
int m_iTotalReceive;
int m_iTotalTimeout;
int m_iThreadIndex;
CListBox *m_pListBox;
BOOL m_bStopThread;
CWinThread *m_pThread;
THREAD_DATA m_ThreadData;
// Dialog Data
//{{AFX_DATA(CPooling1Dlg)
enum { IDD = IDD_POOLING1_DIALOG };
CString m_strIPAddress;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPooling1Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPooling1Dlg)
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_POOLING1DLG_H__CC4BAD1F_9507_4299_9473_574EA258C15A__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -