📄 portscandlg.h
字号:
#if !defined(AFX_PORTSCANDLG_H__B1616A8B_96A2_4C89_88ED_40EC9048E8F2__INCLUDED_)
#define AFX_PORTSCANDLG_H__B1616A8B_96A2_4C89_88ED_40EC9048E8F2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PortScanDlg.h : header file
//
#include "xtabctrl.h"
#include "TcpScanDlg.h"
#include "UdpScanDlg.h"
#include "StdAfx.h" // Added by ClassView
/////////////////////////////////////////////////////////////////////////////
// CPortScanDlg dialog
class CPortScanDlg : public CDialog
{
DECLARE_DYNAMIC(CPortScanDlg)
// Construction
public:
CTcpScanDlg cTcpScanDlg;
CUdpScanDlg cUdpScanDlg;
ThreadParament theThreadParament;
CPortScanDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CPortScanDlg();
// Dialog Data
//{{AFX_DATA(CPortScanDlg)
enum { IDD = IDD_PORT_SCAN };
CIPAddressCtrl m_OriginateIP;
CEdit cLastPortCtrl;
CIPAddressCtrl cIPAddressCtrl;
CXTabCtrl cTabCtrl;
DWORD dwOriginateIP;
BOOL bSingleIP;
BOOL bSinglePort;
DWORD dwLastPort;
DWORD dwOriginatePort;
DWORD dwLastIP;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPortScanDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
virtual void OnOK();
// Generated message map functions
//{{AFX_MSG(CPortScanDlg)
afx_msg void OnBnClickedSingleIP();
afx_msg void OnBnClickedSinglePort();
afx_msg LRESULT OnConstructParament(WPARAM wp,LPARAM lp);
virtual BOOL OnInitDialog();
afx_msg void OnFieldchangedIpaddress1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnFieldchangedIpaddress2(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PORTSCANDLG_H__B1616A8B_96A2_4C89_88ED_40EC9048E8F2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -