📄 send_udp_packetdlg.h
字号:
// Send_UDP_PacketDlg.h : header file
//
#if !defined(AFX_SEND_UDP_PACKETDLG_H__5B355BF7_6701_4FC1_BFBE_F071E7CB1B3A__INCLUDED_)
#define AFX_SEND_UDP_PACKETDLG_H__5B355BF7_6701_4FC1_BFBE_F071E7CB1B3A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CSend_UDP_PacketDlg dialog
class CSend_UDP_PacketDlg : public CDialog
{
// Construction
public:
int propos;
bool down;
bool click;
CSend_UDP_PacketDlg(CWnd* pParent = NULL); // standard constructor
CSocket m_sockSend;
CSocket m_sockRecv;
LVCOLUMN column;
LVITEM item;
// Dialog Data
//{{AFX_DATA(CSend_UDP_PacketDlg)
enum { IDD = IDD_SEND_UDP_PACKET_DIALOG };
CListCtrl m_ListCtl;
CProgressCtrl m_CtrlPro;
CString m_IPAddr;
long m_PacketSize;
CString m_String;
CString m_locip;
int m_DstPort;
int m_DelayTime;
int m_Times;
CString m_szSend;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSend_UDP_PacketDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSend_UDP_PacketDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnOpenfile();
afx_msg void OnContinuousSend();
afx_msg void OnContinualSend();
afx_msg void OnStartReceive();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SEND_UDP_PACKETDLG_H__5B355BF7_6701_4FC1_BFBE_F071E7CB1B3A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -