📄 netrecvdlg.h
字号:
// NetRecvDlg.h : header file
//
#if !defined(AFX_NETRECVDLG_H__7E999241_255B_4346_B677_110DC9D048E5__INCLUDED_)
#define AFX_NETRECVDLG_H__7E999241_255B_4346_B677_110DC9D048E5__INCLUDED_
#include "RecvAgent.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CNetRecvDlg dialog
class CNetRecvDlg : public CDialog
{
// Construction
public:
CNetRecvDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CNetRecvDlg)
enum { IDD = IDD_NETRECV_DIALOG };
CListBox m_list1;
BOOL m_bisSave;
CString m_strAdd;
DWORD m_dwPort;
CString m_strBitrate;
CString m_strIndex;
CString m_strLossCount;
CString m_strPackageSize;
CString m_strRecvCount;
CString m_strLossRate;
long m_nBlockListSize;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNetRecvDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CNetRecvDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnInit();
virtual void OnCancel();
afx_msg void OnSetsave();
afx_msg void OnSetlistcount();
afx_msg void OnCloserecv();
afx_msg void OnShowinfo();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void CheckStatus();
void ProcError(pBlockListInfo);
CRecvAgent m_RecvAgent;
void UpdateInfo(WPARAM wParam, LPARAM lParam);
void Init();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NETRECVDLG_H__7E999241_255B_4346_B677_110DC9D048E5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -